feat:qna 수정

This commit is contained in:
박정민 2024-08-07 17:04:19 +09:00
parent 3df25f872f
commit 25f7343b04

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