fix bad logging on email sender

This commit is contained in:
Henry Oswald 2014-03-12 23:37:54 +00:00
parent fa6065b298
commit f7545393f2

View file

@ -21,7 +21,7 @@ else
module.exports =
sendEmail : (options, callback = (error) ->)->
logger.log receiver:options.receiver, subject:options.subject, "sending email"
logger.log receiver:options.to, subject:options.subject, "sending email"
metrics.inc "email"
options =
to: options.to