🐛 fix(cli): fix delete command

- pass the client to the delete command
This commit is contained in:
Jeremiah Russell
2025-10-13 13:54:24 +01:00
committed by Jeremiah Russell
parent 22e1916262
commit 704b2b023e

View File

@@ -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,
}
}