Skip to content

Commit 331e745

Browse files
authored
Merge pull request #139 from Mango-Butter/dev
[Release] 지각 알림 기능 에러 해결
2 parents 32d9c97 + 1f5dc24 commit 331e745

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/resources/application-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ spring:
1717

1818
jpa:
1919
hibernate:
20-
ddl-auto: create
20+
ddl-auto: {DDL_AUTO:create}
2121
show-sql: true
2222
defer-datasource-initialization: true
2323
sql:
2424
init:
25-
mode: always
25+
mode: {SQL_INIT_MODE:always}
2626
jwt:
2727
secret:
2828
access-secret-key: ${JWT_SECRET}

batch/src/main/java/com/mangoboss/batch/late_clock_in/domain/service/NotificationLateClockInService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private List<NotificationEntity> generateNotification(final Long userId, final L
2626
String clickUrl = frontendUrl + path;
2727
List<String> tokens = deviceTokenRepository.findActiveTokensByUserId(userId);
2828
if (tokens.isEmpty()) {
29-
final NotificationEntity notification = NotificationEntity.create(userId, storeId, title, content, null, clickUrl, type, null);
29+
final NotificationEntity notification = NotificationEntity.createWithMetaId(userId, storeId, title, content, null, clickUrl, type, null, scheduleId);
3030
return List.of(notification);
3131
}
3232
return tokens.stream()

0 commit comments

Comments
 (0)