Removed console.log from venmo success callback
This commit is contained in:
1
app.js
1
app.js
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user