false_positive endpoint needs to await send_to_plus call

This commit is contained in:
Josh Hawkins 2025-09-14 11:15:59 -05:00
parent ff0430964c
commit 61c50fc57e

View File

@ -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