mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
another one
This commit is contained in:
parent
3ebd11a8c2
commit
1af6cf3c65
@ -951,7 +951,7 @@ def regenerate_description(request: Request, event_id: str):
|
|||||||
event: Event = Event.get(Event.id == event_id)
|
event: Event = Event.get(Event.id == event_id)
|
||||||
except DoesNotExist:
|
except DoesNotExist:
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
content={"success": False, "message": "Event " + event_id + " not found"},
|
content=({"success": False, "message": "Event " + event_id + " not found"}),
|
||||||
status_code=404,
|
status_code=404,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user