diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b5fab30..c986258 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -5,6 +5,7 @@ on: branches: - main - develop + - fix/#84-fcm-push jobs: build-and-push: diff --git a/src/main/java/com/nexters/goalpanzi/domain/mission/Mission.java b/src/main/java/com/nexters/goalpanzi/domain/mission/Mission.java index 671efd3..110c6d1 100644 --- a/src/main/java/com/nexters/goalpanzi/domain/mission/Mission.java +++ b/src/main/java/com/nexters/goalpanzi/domain/mission/Mission.java @@ -156,7 +156,7 @@ public LocalDateTime getMissionUploadEndDateTime() { // 미션 시작 예고 시간 == 미션 시작 1시간 전 public boolean isReadyTime() { LocalDateTime startTime = LocalDateTime.of(this.missionStartDate.toLocalDate(), LocalTime.parse(this.uploadStartTime)); - Duration duration = Duration.between(startTime, LocalDate.now()); + Duration duration = Duration.between(startTime, LocalDateTime.now()); return duration.isNegative() && duration.toHours() <= 1; }