fix email health checks

This commit is contained in:
Ishaan Jaff 2024-08-06 15:59:26 -07:00
parent 7024fcacec
commit 206acaae9e

View file

@ -241,10 +241,8 @@ async def health_services_endpoint(
)
# use create task - this can take 10 seconds. don't keep ui users waiting for notification to check their email
asyncio.create_task(
proxy_logging_obj.slack_alerting_instance.send_key_created_or_user_invited_email(
webhook_event=webhook_event
)
await proxy_logging_obj.slack_alerting_instance.send_key_created_or_user_invited_email(
webhook_event=webhook_event
)
return {