From 704b2b023e196a0cd177ca7e308aee7aa3c8bc06 Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Mon, 13 Oct 2025 13:54:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(cli):=20fix=20delete=20comma?= =?UTF-8?q?nd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pass the client to the delete command --- src/cli/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/main.rs b/src/cli/main.rs index 0274040..06b748d 100644 --- a/src/cli/main.rs +++ b/src/cli/main.rs @@ -83,7 +83,7 @@ async fn run(args: Cli) -> Result<()> { SubCmds::Message(list_cli) => list_cli.run(config.credential_file()).await, SubCmds::Labels(label_cli) => label_cli.run(client).await, SubCmds::Trash(trash_cli) => trash_cli.run(config.credential_file()).await, - SubCmds::Delete(delete_cli) => delete_cli.run(config.credential_file()).await, + SubCmds::Delete(delete_cli) => delete_cli.run(&client).await, SubCmds::Run(run_cli) => run_cli.run(config).await, } }