Skip to content

Commit

Permalink
Fix: 출석 여부 true
Browse files Browse the repository at this point in the history
  • Loading branch information
saokiritoni committed Dec 2, 2024
1 parent 13396bf commit 6d3f479
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/dongguk/osori/domain/quest/entity/Quest.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Quest {
private LocalDate date; // 퀘스트가 속한 날짜

@Column(nullable = false)
private boolean attended; // 출석 여부
private boolean attended = true; // 출석 여부

@Column(nullable = false)
private boolean goalWritten; // 목표 작성 여부
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ public Long authenticate(String email, String password) {
throw new IllegalArgumentException("잘못된 비밀번호입니다.");
}

// 퀘스트 업데이트
questService.updateMissionStatus(user.getUserId(), MissionType.ATTENDANCE_CHECKED);

// 인증 성공 시 유저 ID 반환
return user.getUserId();
}
Expand Down

0 comments on commit 6d3f479

Please sign in to comment.