This commit is contained in:
Timothy Jaeryang Baek
2026-08-05 03:19:25 -05:00
Unverified
parent 9a07ccf927
commit 02ce2966bf
+1 -1
View File
@@ -86,7 +86,7 @@ async def get_upload(file_id_ext: str):
@router.delete("/{file_id_ext:path}")
async def delete_upload(file_id_ext: str, request: Request):
async def delete_upload(request: Request, file_id_ext: str):
"""Delete an uploaded file. Must be the owner."""
file_id, _ = os.path.splitext(file_id_ext)