From d1416911375e578f1526d7ded9b747a09eef0b23 Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Sat, 18 Jan 2020 11:10:07 -0800 Subject: [PATCH] Attempt to fix missing club ID in /leader-add --- 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 fec4654e..82c1428f 100644 --- a/src/interactions/leaderAdd.js +++ b/src/interactions/leaderAdd.js @@ -33,7 +33,7 @@ const interactionLeaderAdd = async (bot, message) => { } await airPatch('People', taggedUser.person.id, { - Clubs: [...taggedUserClubs, recipientClub], + Clubs: [...taggedUserClubs, recipientClub.id], }) bot.replyPrivateDelayed(