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:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user