Skip to content

Commit

Permalink
feat: add error and auth flow with redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Liendo committed Jun 27, 2018
1 parent b8c65b1 commit 355a85c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SLACK CLAPBACK

<p align="center">
ADD👏🏾SOME👏🏾SASS👏🏾TO👏🏾YOUR👏🏾SENTENCE!👏🏾
<p>ADD👏🏾SOME👏🏾SASS👏🏾TO👏🏾YOUR👏🏾SENTENCE!👏🏾</p>
<img src='./images/sassy.jpg'/>
</p>

Expand Down
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('https://github.com/mtliendo/slack-clapback')
res.redirect('https://github.com/mtliendo/slack-clapback/blob/master/README.md')
: res.json({error: 'no authentication given'})
})
.catch(e => console.log(e))
Expand Down

0 comments on commit 355a85c

Please sign in to comment.