style: cargo clippy --fix && cargo fmt

This commit is contained in:
BAaboe 2025-07-24 02:30:52 +02:00
parent 0e0c590e4d
commit b28d5b840f
3 changed files with 9 additions and 4 deletions

View file

@ -45,7 +45,9 @@ pub async fn unban(
let mut conn = app_state.pool.get().await?;
let caller = Member::check_membership(&mut conn, uuid, guild_uuid).await?;
caller.check_permission(&app_state, Permissions::BanMember).await?;
caller
.check_permission(&app_state, Permissions::BanMember)
.await?;
let ban = GuildBan::fetch_one(&mut conn, guild_uuid, user_uuid).await?;

View file

@ -7,7 +7,7 @@ use axum::{
extract::{Multipart, Path, State},
http::StatusCode,
response::IntoResponse,
routing::{get, patch, post, delete},
routing::{delete, get, patch, post},
};
use bytes::Bytes;
use uuid::Uuid;