Skip to content

Commit

Permalink
fix(top): after deleting a user, his weekly progress was not counted …
Browse files Browse the repository at this point in the history
…in the overall statistics
  • Loading branch information
talkincheap committed Jul 25, 2024
1 parent 664830b commit df4b71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/eventsmode/top.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Command {
SELECT sum(eventsmode.weekly_time) as "totalTime"
FROM public.eventsmode
LEFT JOIN guild ON eventsmode.guild_id = guild.id
WHERE eventsmode.guild_id = $1 AND eventsmode.is_hired = TRUE
WHERE eventsmode.guild_id = $1
`,
[ctx.guild.id],
);
Expand Down

0 comments on commit df4b71b

Please sign in to comment.