summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-11-17 17:38:48 -0800
committerBryan Newbold <bnewbold@archive.org>2021-11-17 17:38:48 -0800
commitb978f364c46cce7be78aa59012ece1cf57a57d84 (patch)
tree4e9fc2279043a5bd9f52c69e2a599cbe0f448299
parent9ea559ed6e77bfbc01abce505b35e754cbae795d (diff)
downloadfatcat-cli-b978f364c46cce7be78aa59012ece1cf57a57d84.tar.gz
fatcat-cli-b978f364c46cce7be78aa59012ece1cf57a57d84.zip
specifier: fix file lookup hash ordering
-rw-r--r--fatcat-cli/src/specifier.rs2
1 files changed, 1 insertions, 1 deletions
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) => {