From ae07caf272ca530efe36c2b7b1feb2ade52c4cd6 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Wed, 4 Dec 2019 03:17:37 -0500 Subject: [PATCH] Add support for exclusive badges --- src/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.js b/src/utils.js index efca7040..ef5d5589 100644 --- a/src/utils.js +++ b/src/utils.js @@ -140,6 +140,7 @@ export const getInfoForUser = user => Promise.all([ getSlackUser(user).then(slackUser => (results.slackUser = slackUser)), userRecord(user).then(userRecord => (results.userRecord = userRecord)), + airGet('Badges', `FIND('${user}', {People Slack IDs})`).then(badges => results.badges = badges), // Get the leader from the user airFind('Leaders', 'Slack ID', user) .then(leader => (results.leader = leader))