From b6a53461ce88a59b964d41a8dcc5baf1aeb57b1e Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Tue, 14 Oct 2025 07:27:28 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(cli):=20correct=20label=20ad?= =?UTF-8?q?ding=20to=20use=20non-async=20function?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix label adding to use non-async function --- src/cli/trash_cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/trash_cli.rs b/src/cli/trash_cli.rs index 5eb9959..a90eff9 100644 --- a/src/cli/trash_cli.rs +++ b/src/cli/trash_cli.rs @@ -22,7 +22,7 @@ impl TrashCli { pub(crate) async fn run(&self, client: &mut GmailClient) -> Result<(), Error> { if !self.labels.is_empty() { // add labels if any specified - client.add_labels(&self.labels).await?; + client.add_labels(&self.labels)?; } if let Some(query) = self.query.as_ref() {