From 9fb344a433f95f99f16bdf70999e0aab0c7664f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0spik?= Date: Sat, 13 Jun 2026 12:00:38 +0300 Subject: [PATCH] fix: remove unnecessary mut --- .../delta/src/routes/admin/channels/actions/channel_wipe.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/delta/src/routes/admin/channels/actions/channel_wipe.rs b/crates/delta/src/routes/admin/channels/actions/channel_wipe.rs index ec81e77e..7f47208a 100644 --- a/crates/delta/src/routes/admin/channels/actions/channel_wipe.rs +++ b/crates/delta/src/routes/admin/channels/actions/channel_wipe.rs @@ -22,8 +22,8 @@ pub async fn admin_channel_wipe( })); } - let mut channel = channel_id.as_channel(db).await?; - + let channel = channel_id.as_channel(db).await?; + channel.wipe(db).await?; create_audit_action( @@ -35,6 +35,6 @@ pub async fn admin_channel_wipe( None, ) .await?; - + Ok(EmptyResponse) } \ No newline at end of file