Skip to content

Commit

Permalink
[BugFix] - 출석체크 버그 수정했습니다.
Browse files Browse the repository at this point in the history
[Bugix] - 출석체크 버그 수정했습니다.
  • Loading branch information
fakerdeft committed May 28, 2024
2 parents 1a371ea + 25a3791 commit 269d6b0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public String getToken(
* [출석 체크 메서드]
* 당일 첫 로그인 시 화폐 5 증가
*/
private void dailyCheck(final Member member) {
@Transactional
protected void dailyCheck(final Member member) {
// 오늘 첫 로그인 시 = 출석
if (null == member.getConnectedAt() || !LocalDateTime.now().toLocalDate().isEqual(LocalDate.from(member.getConnectedAt()))) {
// 출석 체크 시 붕어빵 지급
Expand Down

0 comments on commit 269d6b0

Please sign in to comment.