Skip to content

Commit

Permalink
[~] #64 AnswerService의 반환값 변경에 따른 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
woody35545 committed Oct 7, 2023
1 parent 3c9fad8 commit c82a507
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public String memberView(Model model) {
@GetMapping("/answers")
public String answerView(Model model) {
// Temporarily implemented. Just for test.
List<Answer> answerList = answerService.getAllAnswers();
ServiceResult sr = answerService.getAllAnswers();
DtoList<AnswerDto> answerList = (DtoList<AnswerDto>)sr.getData();
model.addAttribute("answerList", answerList);
return "answer_view";
}
Expand Down

0 comments on commit c82a507

Please sign in to comment.