Skip to content

NVR with realtime local object detection for IP cameras

false_positive endpoint needs to await send_to_plus call (#20069)

Josh Hawkins2d4a0cc5849f
diff --git a/frigate/api/event.py b/frigate/api/event.py
index 1ff570b7f3..5f426c83fc 100644
--- a/frigate/api/event.py
+++ b/frigate/api/event.py
@@ -1021,7 +1021,7 @@ async def false_positive(request: Request, event_id: str):
)
if not event.plus_id:
- plus_response = send_to_plus(request, event_id)
+ plus_response = await send_to_plus(request, event_id)
if plus_response.status_code != 200:
return plus_response
# need to refetch the event now that it has a plus_id