style: cargo fmt across audit-2026-06-11 tier-3 changes

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
MechaCat02
2026-06-12 18:38:28 +02:00
parent e8cc3afa07
commit ec4a2aa24a
15 changed files with 1838 additions and 5 deletions

View File

@@ -182,7 +182,9 @@ pub fn email_inbound_router(state: EmailInboundState) -> Router {
"/email-inbound/{app_id}/{trigger_id}",
post(receive_inbound_email),
)
.layer(axum::extract::DefaultBodyLimit::max(INBOUND_BODY_LIMIT_BYTES))
.layer(axum::extract::DefaultBodyLimit::max(
INBOUND_BODY_LIMIT_BYTES,
))
.with_state(state)
}

View File

@@ -93,8 +93,7 @@ async fn list_files(
// traversal-shaped collection would otherwise only be caught by the
// repo's `guard_collection` as an opaque 500. Validate here for a
// clean 422 and as the outer layer of the belt-and-suspenders guard.
validate_files_collection(&q.collection)
.map_err(|e| FilesApiError::Invalid(e.to_string()))?;
validate_files_collection(&q.collection).map_err(|e| FilesApiError::Invalid(e.to_string()))?;
let page = s
.files
.list(