From 1f5dc241189792ce4c950b42d7d8d47593fe8d4e Mon Sep 17 00:00:00 2001 From: hyunzzii Date: Tue, 10 Jun 2025 02:31:13 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A7=80=EA=B0=81=20=EC=95=8C=EB=A6=BC?= =?UTF-8?q?=20=EA=B8=B0=EB=8A=A5=20=EC=97=90=EB=9F=AC=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/resources/application-dev.yml | 4 ++-- .../domain/service/NotificationLateClockInService.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/resources/application-dev.yml b/app/src/main/resources/application-dev.yml index 84515802..b68825da 100644 --- a/app/src/main/resources/application-dev.yml +++ b/app/src/main/resources/application-dev.yml @@ -17,12 +17,12 @@ spring: jpa: hibernate: - ddl-auto: create + ddl-auto: {DDL_AUTO:create} show-sql: true defer-datasource-initialization: true sql: init: - mode: always + mode: {SQL_INIT_MODE:always} jwt: secret: access-secret-key: ${JWT_SECRET} diff --git a/batch/src/main/java/com/mangoboss/batch/late_clock_in/domain/service/NotificationLateClockInService.java b/batch/src/main/java/com/mangoboss/batch/late_clock_in/domain/service/NotificationLateClockInService.java index f3898a7b..da471414 100644 --- a/batch/src/main/java/com/mangoboss/batch/late_clock_in/domain/service/NotificationLateClockInService.java +++ b/batch/src/main/java/com/mangoboss/batch/late_clock_in/domain/service/NotificationLateClockInService.java @@ -26,7 +26,7 @@ private List generateNotification(final Long userId, final L String clickUrl = frontendUrl + path; List tokens = deviceTokenRepository.findActiveTokensByUserId(userId); if (tokens.isEmpty()) { - final NotificationEntity notification = NotificationEntity.create(userId, storeId, title, content, null, clickUrl, type, null); + final NotificationEntity notification = NotificationEntity.createWithMetaId(userId, storeId, title, content, null, clickUrl, type, null, scheduleId); return List.of(notification); } return tokens.stream()