🐛 Removed unnecessary print in download endpoint
This commit is contained in:
@@ -40,7 +40,6 @@ async def download_file(file_name: str):
|
|||||||
if not checked_image_string[0]:
|
if not checked_image_string[0]:
|
||||||
raise HTTPException(status_code=400, detail="Invalid file name")
|
raise HTTPException(status_code=400, detail="Invalid file name")
|
||||||
if checked_image_string[1] is not None:
|
if checked_image_string[1] is not None:
|
||||||
print(checked_image_string)
|
|
||||||
item = await StorageItem.objects.get_or_none(id=checked_image_string[1])
|
item = await StorageItem.objects.get_or_none(id=checked_image_string[1])
|
||||||
if item is None:
|
if item is None:
|
||||||
print("Item not found")
|
print("Item not found")
|
||||||
|
|||||||
Reference in New Issue
Block a user