Skip to content

Commit 4f8b9b2

Browse files
committed
fix bug
1 parent cf8deca commit 4f8b9b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/modules/core/bump.listener.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export async function handleBumpStreak(
106106
if (
107107
highestStreakEver &&
108108
highestStreakEver.current == streak.current &&
109+
streak.current == streak.highest && // has to be the current streak
109110
highestStreakEver.highest == streak.highest && // i think this is maybe error prone tbh
110111
highestStreakEver.userId == bumper.id
111112
) {

0 commit comments

Comments
 (0)