Removed console.log from venmo success callback

This commit is contained in:
Sahat Yalkabov
2014-02-11 08:31:56 -05:00
parent 82bf9df29d
commit 4bc0642a48

1
app.js
View File

@ -153,7 +153,6 @@ app.get('/auth/tumblr/callback', passport.authorize('tumblr', { failureRedirect:
}); });
app.get('/auth/venmo', passport.authorize('venmo', { scope: 'make_payments access_profile access_balance access_email access_phone' })); app.get('/auth/venmo', passport.authorize('venmo', { scope: 'make_payments access_profile access_balance access_email access_phone' }));
app.get('/auth/venmo/callback', passport.authorize('venmo', { failureRedirect: '/api' }), function(req, res) { app.get('/auth/venmo/callback', passport.authorize('venmo', { failureRedirect: '/api' }), function(req, res) {
console.log('Success');
res.redirect('/api/venmo'); res.redirect('/api/venmo');
}); });