Skip to content

Commit

Permalink
fix: DTO 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
char-yb committed Apr 6, 2024
1 parent 918fe3b commit 9e8678a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public List<BoardResponseDto> getRandomBoards(Long memberId) {
int toSave = 3 - result.size();
for (int i =0 ; i<toSave; i++) {
ReadBoard entity = ReadBoard.createReadBoard(member, boards.get(i));
result.add(AddBoardResponseDto.from(boards.get(i)));
result.add(BoardResponseDto.from(boards.get(i)));
readBoardRepository.save(entity);
}

Expand Down

0 comments on commit 9e8678a

Please sign in to comment.