Skip to content

Commit aa46c53

Browse files
committed
#285 [fix] 만료 일자 2주로 변경
1 parent 6f4c675 commit aa46c53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/moddy/server/domain/hair_model_application/HairModelApplication.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,12 @@ public LocalDate getCreatedDate(){
5454
return createdDate;
5555
}
5656
public LocalDate getExpiredDate(){
57-
LocalDate expiredDate = getCreatedAt().plusDays(7).toLocalDate();
57+
LocalDate expiredDate = getCreatedAt().plusDays(14).toLocalDate();
5858
return expiredDate;
5959
}
6060

6161
public boolean isExpired() {
62-
LocalDate expiredDate = getCreatedAt().plusDays(7).toLocalDate();
62+
LocalDate expiredDate = getCreatedAt().plusDays(14).toLocalDate();
6363
LocalDate currentDate = LocalDate.now();
6464

6565
return currentDate.isAfter(expiredDate);

0 commit comments

Comments
 (0)