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); }