From ab89dc5156376c4d2942a2674cd14c596c39e350 Mon Sep 17 00:00:00 2001 From: avichalp Date: Wed, 12 Jun 2024 01:50:16 +0800 Subject: [PATCH] Fix lint Signed-off-by: avichalp --- fendermint/app/src/cmd/objects.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fendermint/app/src/cmd/objects.rs b/fendermint/app/src/cmd/objects.rs index 8d4f2cd8..187602c9 100644 --- a/fendermint/app/src/cmd/objects.rs +++ b/fendermint/app/src/cmd/objects.rs @@ -627,7 +627,7 @@ async fn handle_object_download( .unwrap_or(FvmQueryHeight::Committed.into()); let path = tail.as_str(); let key: Vec = path.into(); - let maybe_object = os_get(client, args, address, GetParams { key: key.into() }, height) + let maybe_object = os_get(client, args, address, GetParams { key }, height) .await .map_err(|e| { Rejection::from(BadRequest {