Skip to content

Commit 3f9fcdb

Browse files
authored
Merge pull request #88 from imdangg/develop
fix
2 parents 4718c94 + 5cc4053 commit 3f9fcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setting-service/setting-persistence/src/main/java/com/project/imdang/setting/service/persistence/mapper/NotificationPersistenceMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class NotificationPersistenceMapper {
1111

1212
public NotificationEntity notificationToNotificationEntity(Notification notification) {
1313
return NotificationEntity.builder()
14-
.id(notification.getId().getValue())
14+
.id(notification.getId() != null ? notification.getId().getValue() : null)
1515
.category(notification.getCategory())
1616
.message(notification.getMessage())
1717
.createdAt(notification.getCreatedAt())

0 commit comments

Comments
 (0)