fix: remove unnecessary mut
This commit is contained in:
1 parent
948fb97e89
commit
9fb344a433
1 file changed
+3
-3
@@ -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)
|
||||
}
|
||||
Reference in new issue
Block a user