[email] Fix email sender bug

This commit is contained in:
Cathy Hu 2020-09-16 23:41:38 +02:00
parent 4d6dce84cf
commit d66bf759e1

View file

@ -202,7 +202,6 @@ async def email_subscribe(
email.send_email( email.send_email(
subscriber.email, subscriber.email,
"Subscribe to Kibicara " + hood.name, "Subscribe to Kibicara " + hood.name,
sender=hood.name,
body='To confirm your subscription, follow this link: ' + confirm_link, body='To confirm your subscription, follow this link: ' + confirm_link,
) )
return {} return {}