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:
@@ -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