diff --git a/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java b/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java index b71fbcc2..cc9975df 100644 --- a/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java +++ b/src/main/java/kr/mywork/domain/post/listener/PostApprovalNotificationTxListener.java @@ -30,7 +30,7 @@ public void handlePostApprovalAlarmEvent(final PostApprovalNotificationEvent eve private void saveNotification(final PostApprovalNotificationEvent event) { notificationService.save( - event.authorId(), event.authorName(), event.postTitle(), event.memberName(), event.memberId(), + event.authorId(), event.authorName(), event.postTitle(), event.actorName(), event.actorId(), event.targetType(), event.postId(), event.notificationActionType(), event.modifiedAt(), event.projectId(), event.projectStepId()); } diff --git a/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java b/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java index 39481a75..f970df68 100644 --- a/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java +++ b/src/main/java/kr/mywork/domain/post/listener/event/PostApprovalNotificationEvent.java @@ -6,8 +6,8 @@ import kr.mywork.domain.notification.model.NotificationActionType; import kr.mywork.domain.notification.model.TargetType; -public record PostApprovalNotificationEvent(UUID authorId, String authorName, String postTitle, UUID memberId, - String memberName, TargetType targetType, UUID postId, +public record PostApprovalNotificationEvent(UUID authorId, String authorName, String postTitle, UUID actorId, + String actorName, TargetType targetType, UUID postId, NotificationActionType notificationActionType, LocalDateTime modifiedAt, UUID projectId, UUID projectStepId) { } diff --git a/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java b/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java index 7872521b..d2bbb14f 100644 --- a/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java +++ b/src/main/java/kr/mywork/domain/project_checklist/listener/CheckListNotificationTxListener.java @@ -33,8 +33,8 @@ private void saveNotification(final CheckListApprovalNotificationEvent event) { event.authorId(), event.authorName(), event.checkListTitle(), - event.authorName(), - event.memberId(), + event.actorName(), + event.actorId(), event.targetType(), event.checkListId(), event.notificationActionType(), diff --git a/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java b/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java index c452430b..bf38f49b 100644 --- a/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java +++ b/src/main/java/kr/mywork/domain/project_checklist/listener/event/CheckListApprovalNotificationEvent.java @@ -7,7 +7,7 @@ import kr.mywork.domain.notification.model.TargetType; public record CheckListApprovalNotificationEvent(UUID authorId, String authorName, String checkListTitle, - String memberName, UUID memberId, TargetType targetType, + String actorName, UUID actorId, TargetType targetType, UUID checkListId, NotificationActionType notificationActionType, LocalDateTime modifiedAt, UUID projectId, UUID projectStepId) {