mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-09-23 17:52:05 +02:00
false_positive endpoint needs to await send_to_plus call (#20069)
This commit is contained in:
parent
ff0430964c
commit
2d4a0cc584
@ -1021,7 +1021,7 @@ async def false_positive(request: Request, event_id: str):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if not event.plus_id:
|
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:
|
if plus_response.status_code != 200:
|
||||||
return plus_response
|
return plus_response
|
||||||
# need to refetch the event now that it has a plus_id
|
# need to refetch the event now that it has a plus_id
|
||||||
|
Loading…
Reference in New Issue
Block a user