chore: rustfmt fixups for app_members files

Trailing-comma format! cleanup from `cargo fmt --all`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-05-27 21:39:25 +02:00
parent d40ebf65a2
commit b7175cc581
2 changed files with 3 additions and 9 deletions

View File

@@ -184,9 +184,7 @@ async fn remove_member(
) -> Result<StatusCode, AppMembersApiError> {
let app = resolve_app(&*s.apps, &id_or_slug).await?;
require(s.authz.as_ref(), &principal, Capability::AppAdmin(app.id)).await?;
s.members
.remove(app.id, AdminUserId::from(user_id))
.await?;
s.members.remove(app.id, AdminUserId::from(user_id)).await?;
Ok(StatusCode::NO_CONTENT)
}

View File

@@ -195,9 +195,7 @@ async fn patch_member_role(
role: AppRole,
) -> axum_test::TestResponse {
server
.patch(&format!(
"/api/v1/admin/apps/{app_ident}/members/{user_id}",
))
.patch(&format!("/api/v1/admin/apps/{app_ident}/members/{user_id}",))
.add_header("authorization", format!("Bearer {token}"))
.json(&json!({ "role": role.as_str() }))
.await
@@ -210,9 +208,7 @@ async fn remove_member(
user_id: AdminUserId,
) -> axum_test::TestResponse {
server
.delete(&format!(
"/api/v1/admin/apps/{app_ident}/members/{user_id}",
))
.delete(&format!("/api/v1/admin/apps/{app_ident}/members/{user_id}",))
.add_header("authorization", format!("Bearer {token}"))
.await
}