diff --git a/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java b/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java index 6d28f7d..5e40bba 100644 --- a/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java +++ b/hous-api/src/main/java/hous/api/service/notification/dto/response/NotificationInfo.java @@ -13,7 +13,9 @@ import lombok.Getter; import lombok.NoArgsConstructor; import lombok.ToString; +import lombok.extern.slf4j.Slf4j; +@Slf4j @ToString @Getter @NoArgsConstructor(access = AccessLevel.PRIVATE) @@ -38,7 +40,7 @@ public static NotificationInfo of(Notification notification, LocalDateTime now) .type(notification.getType()) .content(notification.getContent()) .isRead(notification.isRead()) - .createdAt(DateUtils.passedTime(now, DateUtils.convertUtcToKst(notification.getCreatedAt()))) + .createdAt(DateUtils.passedTime(now, notification.getCreatedAt())) .build(); } }