Skip to content

Commit

Permalink
fix: streak not incremented (#253)
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Brink <[email protected]>
  • Loading branch information
henrybrink authored Jun 19, 2024
1 parent c11fb0e commit c177bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/app/streaks/streak.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class StreakService {
user,
today,
points,
history[0].streak,
history[0].streak + 1,
dailyGoalReached,
);
} else {
Expand Down

0 comments on commit c177bf6

Please sign in to comment.