mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Use correct field
This commit is contained in:
parent
f553cb053a
commit
23f1b51455
@ -207,7 +207,7 @@ class AudioEventMaintainer(threading.Thread):
|
|||||||
):
|
):
|
||||||
self.detections[detection["label"]] = None
|
self.detections[detection["label"]] = None
|
||||||
requests.put(
|
requests.put(
|
||||||
f"http://127.0.0.1/api/events/{detection['event_id']}/end",
|
f"http://127.0.0.1/api/events/{detection['id']}/end",
|
||||||
json={
|
json={
|
||||||
"end_time": detection["last_detection"]
|
"end_time": detection["last_detection"]
|
||||||
+ self.config.record.events.post_capture
|
+ self.config.record.events.post_capture
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user