Skip to content

Commit

Permalink
Adjust leaderboard timeframe
Browse files Browse the repository at this point in the history
  • Loading branch information
GODrums committed Nov 4, 2024
1 parent 0ea5ec3 commit cac1a7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void sendMessage(String channelId, List<LayoutBlock> blocks, String fallb

private List<User> getTop3SlackReviewers() {
LocalDate after = LocalDate.now().minusDays(8);
LocalDate before = LocalDate.now().minusDays(1);
LocalDate before = LocalDate.now().minusDays(2);
var leaderboard = leaderboardService.createLeaderboard(Optional.of(after), Optional.of(before),
Optional.empty());
var top3 = leaderboard.subList(0, Math.min(3, leaderboard.size()));
Expand Down

0 comments on commit cac1a7f

Please sign in to comment.