mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 09:15:22 +03:00
Remove person only check
This commit is contained in:
parent
73cb586382
commit
8a42db25d0
@ -162,11 +162,6 @@ def set_sub_label(id):
|
||||
jsonify({"success": False, "message": "Event " + id + " not found"}), 404
|
||||
)
|
||||
|
||||
if event.label != "person":
|
||||
return make_response(
|
||||
jsonify({"success": False, "message": "Event " + id + " is not a person event"}), 400
|
||||
)
|
||||
|
||||
if request.json:
|
||||
new_sub_label = request.json.get("subLabel", "")
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user