diff --git a/functions/subscribe_user.py b/functions/subscribe_user.py index 9ee284e..5fb47dd 100644 --- a/functions/subscribe_user.py +++ b/functions/subscribe_user.py @@ -2,12 +2,12 @@ def email_user(context): # Get the user name user = context.json['username'] - msg = 'Hello {} thanks for joining my awesome service!".format(user) + msg = 'Hello {} thanks for joining my awesome service!'.format(user) - send_email(msg, contex.json['email]) + send_email(msg, contex.json['email']) def subscribe_user(context): # Get the user name email = context.json['email'] - subscribe_user(email) \ No newline at end of file + subscribe_user(email)