Skip to content

Commit

Permalink
removed the wrong character which results in app crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-crkn committed Oct 30, 2024
1 parent ac95bbb commit e5502fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/upload_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async def upload_manifest_backend(
raise HTTPException(status_code=400, detail="Invalid file type. Only JSON files are allowed.")

if not content:
· raise HTTPException(status_code=400, detail="Empty file is not allowed.")
raise HTTPException(status_code=400, detail="Empty file is not allowed.")

# Validate the manifest, pass JSON string
validator = Validator()
Expand Down

0 comments on commit e5502fe

Please sign in to comment.