mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 01:05:20 +03:00
Fix cors issue and change to 200 to resolve dialog bug
This commit is contained in:
parent
302803ab4f
commit
5de531f683
@ -203,7 +203,7 @@ def delete_event(id):
|
||||
media.unlink(missing_ok=True)
|
||||
|
||||
event.delete_instance()
|
||||
return make_response(jsonify({"success": True, "message": "Event" + id + " deleted"}),204)
|
||||
return make_response(jsonify({"success": True, "message": "Event" + id + " deleted"}),200)
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user