Skip to content

Commit

Permalink
feat: 코드 컨벤션에 따른 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kyxxgsoo committed Mar 5, 2024
1 parent a34496b commit b21a633
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public QuestionId createQuestion(QuestionCreate request) {
@Override
@Transactional
public QuestionId deleteQuestion(Long questionId) {
Question question = adminQuestionRepository.findById(questionId).orElseThrow(() -> new RestApiException(
QuestionErrorCode.QUESTION_NOT_FOUND));
Question question = adminQuestionRepository.findById(questionId).orElseThrow(()
-> new RestApiException(QuestionErrorCode.QUESTION_NOT_FOUND));

question.delete();

Expand Down

0 comments on commit b21a633

Please sign in to comment.