handle scenerio for task after disassociate

This commit is contained in:
jain
2023-09-04 16:49:18 +05:30
parent 116fb00358
commit 9b14eedb18
6 changed files with 17 additions and 9 deletions

View File

@ -167,7 +167,7 @@ def user_device_details(user, device_id):
return False
def send_support_email(name, sender, subject, message):
def send_support_email(name, sender, message):
"""Send otp on email with template"""
to_email = [settings.EMAIL_FROM_ADDRESS]
from_email = settings.DEFAULT_ADDRESS
@ -179,7 +179,6 @@ def send_support_email(name, sender, subject, message):
context={
'name': name.title(),
'sender': sender,
'subject': subject,
'message': message
}
)