Skip to content

Commit

Permalink
fix: redirect flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Liendo committed Jun 27, 2018
1 parent ef1a2d1 commit b8c65b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/slackv1-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ slackv1Router.get('/auth', (req,res) => {
.then(data => {
console.log(data)
data.access_token ?
res.redirect(200,'https://github.com/mtliendo/slack-clapback')
res.redirect('https://github.com/mtliendo/slack-clapback')
: res.json({error: 'no authentication given'})
})
.catch(e => console.log(e))
Expand Down

0 comments on commit b8c65b1

Please sign in to comment.