🐛 Fixed storage

This commit is contained in:
Mawoka
2023-06-18 10:09:15 +02:00
parent 5f35adeec7
commit cebc43fc3b
5 changed files with 15 additions and 14 deletions
-1
View File
@@ -57,7 +57,6 @@ async def download_file(file_name: str):
raise HTTPException(status_code=404, detail="File not found")
if download is None:
raise HTTPException(status_code=404, detail="File not found")
media_type = "image/*"
if item is not None:
media_type = item.mime_type