From c40ea154c3fc4e5ff08d5f71cdc4a05d301a25ec Mon Sep 17 00:00:00 2001 From: DongkyunKim <134477764+dongkyun0713@users.noreply.github.com> Date: Sun, 22 Dec 2024 20:20:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=B9=9C=EA=B5=AC=20=EC=88=98=EB=9D=BD?= =?UTF-8?q?=20=EC=95=8C=EB=A6=BC=20=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#249)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Refactor: 리펙토링 * fix: 친구 수락 알림 메시지 수정 --- .../member/follow/application/FollowService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/shop/kkeujeok/kkeujeokbackend/member/follow/application/FollowService.java b/src/main/java/shop/kkeujeok/kkeujeokbackend/member/follow/application/FollowService.java index d45c44c..fcf4870 100644 --- a/src/main/java/shop/kkeujeok/kkeujeokbackend/member/follow/application/FollowService.java +++ b/src/main/java/shop/kkeujeok/kkeujeokbackend/member/follow/application/FollowService.java @@ -69,8 +69,8 @@ public void accept(String email, Long followId) { Member fromMember = followRepository.findById(followId).orElseThrow(AlreadyFriendsException::new) .getFromMember(); - String followAcceptMessage = String.format(FOLLOW_ACCEPT_MESSAGE_TEMPLATE, fromMember.getNickname(), - toMember.getNickname()); + String followAcceptMessage = String.format(FOLLOW_ACCEPT_MESSAGE_TEMPLATE, toMember.getNickname(), + fromMember.getNickname()); notificationService.sendNotification(fromMember, followAcceptMessage); }