From b978f364c46cce7be78aa59012ece1cf57a57d84 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 17 Nov 2021 17:38:48 -0800 Subject: specifier: fix file lookup hash ordering --- fatcat-cli/src/specifier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatcat-cli/src/specifier.rs b/fatcat-cli/src/specifier.rs index 22c7f1c..2b14e31 100644 --- a/fatcat-cli/src/specifier.rs +++ b/fatcat-cli/src/specifier.rs @@ -340,7 +340,7 @@ impl Specifier { ); let result = api_client .rt - .block_on(api_client.api.lookup_file(sha1, sha256, md5, expand, hide))?; + .block_on(api_client.api.lookup_file(md5, sha1, sha256, expand, hide))?; match result { fatcat_openapi::LookupFileResponse::FoundEntity(model) => Ok(Box::new(model)), fatcat_openapi::LookupFileResponse::BadRequest(err) => { -- cgit v1.2.3