another one

This commit is contained in:
Josh Hawkins 2024-09-24 08:48:32 -05:00
parent 3ebd11a8c2
commit 1af6cf3c65

View File

@ -951,7 +951,7 @@ def regenerate_description(request: Request, event_id: str):
event: Event = Event.get(Event.id == event_id)
except DoesNotExist:
return JSONResponse(
content={"success": False, "message": "Event " + event_id + " not found"},
content=({"success": False, "message": "Event " + event_id + " not found"}),
status_code=404,
)