Skip to content

Commit

Permalink
Attempt to fix missing club ID in /leader-add
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Jan 18, 2020
1 parent 5ce0fab commit d141691
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 @@ -33,7 +33,7 @@ const interactionLeaderAdd = async (bot, message) => {
}

await airPatch('People', taggedUser.person.id, {
Clubs: [...taggedUserClubs, recipientClub],
Clubs: [...taggedUserClubs, recipientClub.id],
})

bot.replyPrivateDelayed(
Expand Down

0 comments on commit d141691

Please sign in to comment.