diff --git a/commands/drop.js b/commands/drop.js index 174f5c2..d2a09e6 100644 --- a/commands/drop.js +++ b/commands/drop.js @@ -142,7 +142,7 @@ module.exports = { if (claimUser) { //Update card with the user id cards[cardId].userId = claimUser.id; - await UserUtils.actionHandler(user, "claim"); + await UserUtils.actionHandler(claimUser, "claim"); await cards[cardId].save(); let historyEntry = { userId: claimUser.id,