Skip to content

Commit

Permalink
fix: 스트릭 갱신시간 임시로 1분제한으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
kimchijinju committed Oct 12, 2024
1 parent b505afc commit d0f6ff0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public List<UserStreakDto> refreshStreak(UserStreakRequest request) {
return getUserStreakDtoList(history);
}

if (history.getUpdatedAt().plusHours(2).isAfter(LocalDateTime.now())) {
if (history.getUpdatedAt().plusMinutes(1).isAfter(LocalDateTime.now())) {
log.info("스트릭 업데이트를 한지 2시간 밖에 지나지 않았습니다");
return getUserStreakDtoList(history);
}
Expand Down

0 comments on commit d0f6ff0

Please sign in to comment.