false_positive endpoint needs to await send_to_plus call (#20069)

This commit is contained in:
Josh Hawkins 2025-09-14 11:31:07 -05:00 committed by GitHub
parent ff0430964c
commit 2d4a0cc584
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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