(
id: int,
file_service: FileService = Depends(get_file_service),
)
| 360 | |
| 361 | @admin_api.get("/file/detail") |
| 362 | async def file_detail( |
| 363 | id: int, |
| 364 | file_service: FileService = Depends(get_file_service), |
| 365 | ): |
| 366 | detail = await file_service.get_file_detail(id) |
| 367 | return APIResponse(detail=detail) |
| 368 | |
| 369 | |
| 370 | @admin_api.post("/file/detail") |
nothing calls this directly
no test coverage detected