From c348d721420a1638da183556c191644e664bafbb Mon Sep 17 00:00:00 2001 From: negue Date: Mon, 15 Sep 2014 21:20:41 +0200 Subject: [PATCH] fix payments.js compile --- src/controllers/payments.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}