diff --git a/src/controllers/payments.js b/src/controllers/payments.js index 6529e99635..03485a1c45 100644 --- a/src/controllers/payments.js +++ b/src/controllers/payments.js @@ -65,7 +65,7 @@ function createSubscription(user, data) { name = user.auth.facebook.displayName || user.auth.facebook.username; } - if(email) + if(email){ request({ url: nconf.get('EMAIL_SERVER_URL') + '/job', method: 'POST', @@ -339,4 +339,4 @@ api.paypalIPN = function(req, res, next) { break; } }); -} \ No newline at end of file +}