mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-15 07:35:27 +03:00
Fix false positive submission
This commit is contained in:
parent
8c540d7210
commit
fc15207f28
@ -768,7 +768,7 @@ def false_positive(request: Request, event_id: str):
|
||||
)
|
||||
|
||||
if not event.plus_id:
|
||||
plus_response = send_to_plus(event_id)
|
||||
plus_response = 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user