Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix paste CLI clippy warnings

Manav Rathi0d0bf663db9b
diff --git a/rust/apps/cli/src/commands/paste.rs b/rust/apps/cli/src/commands/paste.rs
index 76fd39043c..9038a9b3ae 100644
--- a/rust/apps/cli/src/commands/paste.rs
+++ b/rust/apps/cli/src/commands/paste.rs
@@ -243,7 +243,7 @@ async fn consume_paste_payload(
cookie: &str,
) -> Result<PastePayload> {
post_json(
- &client,
+ client,
endpoint,
"/paste/consume",
&request,
@@ -490,7 +490,7 @@ fn decrypt_consumed_text(paste_key: &[u8], payload: &PastePayload) -> Result<Str
encrypted_data,
decryption_header,
},
- &paste_key,
+ paste_key,
)?;
Ok(text.text)
}