Fixed recipient address

This commit is contained in:
Michael Schmatz 2014-05-05 15:41:02 -07:00
parent 82529c781b
commit bdf6d9e759

View file

@ -108,7 +108,7 @@ sendLadderUpdateEmail = (session, now, daysAgo) ->
context =
email_id: sendwithus.templates.ladder_update_email
recipient:
address: if DEBUGGING then 'nick@codecombat.com' else user.email
address: if DEBUGGING then 'nick@codecombat.com' else user.get('email')
name: name
email_data:
name: name