fix: remove unnecessary mut

This commit is contained in:
İspik
2026-06-13 12:00:38 +03:00
parent 948fb97e89
commit 9fb344a433

View File

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