From 23f1b51455a542f8227623cdd423e7f7fed41957 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sun, 25 Jun 2023 20:39:46 -0600 Subject: [PATCH] Use correct field --- frigate/events/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/events/audio.py b/frigate/events/audio.py index 5e98b7d39..0e877ad7b 100644 --- a/frigate/events/audio.py +++ b/frigate/events/audio.py @@ -207,7 +207,7 @@ class AudioEventMaintainer(threading.Thread): ): self.detections[detection["label"]] = None 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={ "end_time": detection["last_detection"] + self.config.record.events.post_capture