mirror of
https://github.com/open-webui/computer.git
synced 2026-11-18 03:41:41 +03:00
refac
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user