Skip to content

Commit

Permalink
#186: Fixed content related issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sairohithA007 committed Apr 25, 2019
1 parent 2ccea00 commit 81b2b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AuthServices/Services/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def register(self, user):
del user['confirmPassword']
saved_user = collection.insert_one(user)
email_queue = EmailService()
email_queue.send_email(user['email'], 'Welcome to Utopia', self.email_text(user['firstName']))
email_queue.send_email(user['email'], 'Welcome to Utopia', user['firstName'])
user = User()
user.user_id = str(saved_user.inserted_id)
return user
Expand Down

0 comments on commit 81b2b14

Please sign in to comment.