Skip to content

Commit

Permalink
style: 예외 메세지 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
cookienc committed Sep 20, 2023
1 parent 04f58a5 commit 7889122
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Long createSupporterFeedback(final Runner runner, final SupporterFeedBack
.orElseThrow(() -> new FeedbackBusinessException("러너 게시글을 찾을 수 없습니다."));

if (supporterFeedbackRepository.existsByRunnerPostIdAndSupporterId(foundRunnerPost.getId(), foundSupporter.getId())) {
throw new FeedbackBusinessException("서포터에대한 피드백을 작성했으면 추가적인 피드백을 남길 수 없습니다.");
throw new FeedbackBusinessException("서포터에 대한 피드백을 작성했으면 추가적인 피드백을 남길 수 없습니다.");
}
if (foundRunnerPost.isNotOwner(runner)) {
throw new FeedbackBusinessException("리뷰 글을 작성한 주인만 글을 작성할 수 있습니다.");
Expand Down

0 comments on commit 7889122

Please sign in to comment.