Skip to content

Commit

Permalink
chore: answerContent 로 변경 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikekks authored Aug 3, 2024
1 parent 46c8561 commit 027375a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public record AnswerCreateRequest(
@Schema(description = "질문 타입", example = "plain_text")
String questionType,
@Schema(description = "질문에 대한 답변", example = "깊은 고민을 할 수 있어서 좋았어요.")
String answer
String answerContent

) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void create(AnswerListCreateRequest request, Long spaceId, Long retrospec
// 회고 질문 유효성 검사 - 각각의 질문들이 유효한지
questions.validateIdAndQuestionType(r.questionId(), QuestionType.stringToEnum(r.questionType()));

Answer answer = new Answer(retrospectId, r.questionId(), memberId, r.answer(), answerStatus);
Answer answer = new Answer(retrospectId, r.questionId(), memberId, r.answerContent(), answerStatus);
answerRepository.save(answer);
}
}
Expand Down

0 comments on commit 027375a

Please sign in to comment.