From e6104483e995c84d49e2f792bdc0402955ebee27 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Sat, 28 Sep 2019 15:27:49 -0400 Subject: [PATCH] Add missing return --- src/interactions/leaderAdd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interactions/leaderAdd.js b/src/interactions/leaderAdd.js index 80fac9ce..45ac5907 100644 --- a/src/interactions/leaderAdd.js +++ b/src/interactions/leaderAdd.js @@ -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) {