Skip to content

Commit 3c2105f

Browse files
committed
fix: Notification Builder의 createdAt 수동 설정 제거
1 parent 21a2be7 commit 3c2105f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/helpie/backend/domain/notification/Notification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public Notification(Long userId, NotificationType type, String title, String mes
112112
this.actorId = actorId;
113113
this.actorName = actorName;
114114
this.isRead = false;
115-
this.createdAt = LocalDateTime.now(); // 수동으로 설정 (JPA Auditing 백업)
115+
// @CreatedDate가 자동 설정하도록 제거
116116
}
117117

118118
/**

0 commit comments

Comments
 (0)