Skip to content

Commit

Permalink
Merge pull request #301 from Modagbul/MNG-28
Browse files Browse the repository at this point in the history
MNG-28 fix: missionComment path 수정
  • Loading branch information
minsu20 authored Jul 22, 2024
2 parents 22411ca + e0dc9e0 commit 29dc9f3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<List<NewUploadInfo>> 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()));
}
}

Expand Down

0 comments on commit 29dc9f3

Please sign in to comment.