mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-02 00:52:17 +03:00
Api fixes (#13955)
* Fix false positive submission * Make sure None is not sent as rate limit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user