Skip to content

Commit

Permalink
Merge pull request #135 from Katchup-dev/fix/#133-card-detail-get-api
Browse files Browse the repository at this point in the history
[FIX] 업무 카드 상세 조회 시, content와 note 값 누락된 버그 수정
  • Loading branch information
yeseul106 authored Aug 26, 2023
2 parents 4244f59 + 22f5367 commit 0d84349
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class CardGetResponseDto {
private String category;
private String task;
private String subTask;
private String content;
private String note;
private List<KeywordGetResponseDto> keywordList;
private List<ScreenshotGetResponseDto> screenshotList;
private List<FileGetResponseDto> fileList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public CardGetResponseDto getCard(Long cardId) {
List<FileGetResponseDto> fileGetResponseDTOList = getFileDtoList(cardId);
List<ScreenshotGetResponseDto> screenshotResponseDtoList = getScreenshotDtoList(cardId);

return CardGetResponseDto.of(card.getId(), category.getName(), task.getName(), card.getSubTask().getName(), keywordResponseDtoList, screenshotResponseDtoList, fileGetResponseDTOList);
return CardGetResponseDto.of(card.getId(), category.getName(), task.getName(), card.getSubTask().getName(), card.getContent(), card.getNote(), keywordResponseDtoList, screenshotResponseDtoList, fileGetResponseDTOList);
}

private Long getPlacementOrder(SubTask subTask) {
Expand Down

0 comments on commit 0d84349

Please sign in to comment.