Skip to content

Commit

Permalink
Add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Sep 28, 2019
1 parent 19a39fe commit e610448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interactions/leaderAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const interactionLeaderAdd = (bot, message) => {
throw new Error('Invalid Slack user')
}

getInfoForUser(taggedUserID)
return getInfoForUser(taggedUserID)
.then(taggedUser => {
console.log('found tagged user')
if (taggedUser.slackUser.is_bot) {
Expand Down

0 comments on commit e610448

Please sign in to comment.