Revert sync -> aync in send welcome email method

This commit is contained in:
sabaimran 2024-04-30 13:02:13 +05:30 committed by Debanjum Singh Solanky
parent 6936875a82
commit ca8a7d8368

View file

@ -31,7 +31,7 @@ def is_resend_enabled():
return bool(RESEND_API_KEY)
def send_welcome_email(name, email):
async def send_welcome_email(name, email):
if not is_resend_enabled():
logger.debug("Email sending disabled")
return