mirror of
https://github.com/open-webui/computer.git
synced 2026-11-22 21:50:43 -05:00
refac
This commit is contained in:
1 parent
9a07ccf927
commit
02ce2966bf
1 file changed
+1
-1
@@ -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