Skip to content

Commit

Permalink
Merge pull request #21 from GDSC-snowflowerthon/feature/10
Browse files Browse the repository at this point in the history
[Fix] addDoneDate 에러 해결
  • Loading branch information
soHyn authored Jan 12, 2024
2 parents 618181d + a44fc04 commit 631f05d
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public List<LocalDate> addDoneDate(Long subgoalId) {

for(int i = 0; i < doneDates.size(); i++) {
if(doneDates.get(i) == null) {
System.out.println(doneDates.get(i-1));
if(i > 0 && (Objects.equals(doneDates.get(i - 1), today))) {
throw new IllegalStateException("이미 체크된 TASK입니다.");
}
Expand Down

0 comments on commit 631f05d

Please sign in to comment.