mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-26 19:41:29 +08:00
false_positive endpoint needs to await send_to_plus call (#20069)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user