Merge branch 'BE/userinfo' into 'backend'

feat:qna 수정

See merge request s11-webmobile1-sub2/S11P12A701!91
This commit is contained in:
박정민 2024-08-07 17:05:56 +09:00
commit 60d6f35928

View File

@ -71,7 +71,7 @@ public class QnaController {
User findUser = userRepository.findById(userId).orElse(null);
if (findUser.getRole() != UserRole.ADMIN) {
throw new RuntimeException();
throw new RuntimeException("update 실패");
}
QnaResponseDto responseDto = qnaService.updateAnswer(qna_id, qnaRequestDto);