Fix double-callback

This commit is contained in:
Shane Kilkelly 2017-01-17 16:25:18 +00:00
parent 1137ab0715
commit 59ab66fca2

View file

@ -41,7 +41,7 @@ else
checkCanSendEmail = (options, callback)->
if !options.sendingUser_id? #email not sent from user, not rate limited
callback(null, true)
return callback(null, true)
opts =
endpointName: "send_email"
timeInterval: 60 * 60 * 3