Skip to content

Commit

Permalink
Wrong clan points recalculation on brute reset (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
aamfahim authored Oct 26, 2024
1 parent 4d28886 commit 1578018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/controllers/Brutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ const Brutes = {

// Update clan points
if (brute.clanId) {
await updateClanPoints(prisma, brute.clanId, 'add', brute, updatedBrute);
await updateClanPoints(prisma, brute.clanId, 'add', updatedBrute, brute);
}

res.send(updatedBrute);
Expand Down

0 comments on commit 1578018

Please sign in to comment.