diff --git a/src/main/java/com/moing/backend/domain/missionComment/application/service/SendMissionCommentAlarmUseCase.java b/src/main/java/com/moing/backend/domain/missionComment/application/service/SendMissionCommentAlarmUseCase.java index 5f5adadb..7a14209b 100644 --- a/src/main/java/com/moing/backend/domain/missionComment/application/service/SendMissionCommentAlarmUseCase.java +++ b/src/main/java/com/moing/backend/domain/missionComment/application/service/SendMissionCommentAlarmUseCase.java @@ -47,14 +47,12 @@ public void sendCommentAlarm(BaseMissionServiceResponse response, MissionComment sendMissionCommentWriter(mission, missionArchive, title, body, team, newUploadInfos); sendMissionWriter(missionArchive, mission, member, title, body, team, newUploadInfos); } - - private void sendMissionWriter(MissionArchive missionArchive, Mission mission, Member member, String title, String body, Team team, Optional> newUploadInfos) { Member receiver = missionArchive.getMember(); if (checkMemberWriter(receiver, member, newUploadInfos)) { - eventPublisher.publishEvent(new SingleFcmEvent(receiver, title, body, createIdInfo(team.getTeamId(), mission.getId(), missionArchive.getId()), team.getName(), AlarmType.COMMENT, PagePath.NOTICE_PATH.getValue(), receiver.isCommentPush())); + eventPublisher.publishEvent(new SingleFcmEvent(receiver, title, body, createIdInfo(team.getTeamId(), mission.getId(), missionArchive.getId()), team.getName(), AlarmType.COMMENT, PagePath.MISSION_PATH.getValue(), receiver.isCommentPush())); } }