mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 09:04:28 +03:00
remove comment
This commit is contained in:
parent
b481e242fb
commit
922cd5b675
@ -110,7 +110,7 @@ def deregister_faces(request: Request, name: str, body: dict = None):
|
|||||||
|
|
||||||
json: dict[str, any] = body or {}
|
json: dict[str, any] = body or {}
|
||||||
list_of_ids = json.get("ids", [])
|
list_of_ids = json.get("ids", [])
|
||||||
delete_directory = json.get("delete_directory", False) # New flag for directory deletion
|
delete_directory = json.get("delete_directory", False)
|
||||||
|
|
||||||
if not list_of_ids:
|
if not list_of_ids:
|
||||||
return JSONResponse(
|
return JSONResponse(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user