From 3792b10ebcda40a09bbfb4978cd9e5f53c88fe8c Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 10 Nov 2022 15:50:00 +0900 Subject: [PATCH] =?UTF-8?q?#9=20refactor:=EB=B3=B4=EB=93=9C=20=EC=A0=84?= =?UTF-8?q?=EC=B2=B4=EC=A1=B0=ED=9A=8C=20=EC=A3=BC=EC=84=9D=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yogit/server/board/service/BoardServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/main/java/com/yogit/server/board/service/BoardServiceImpl.java b/server/src/main/java/com/yogit/server/board/service/BoardServiceImpl.java index 7ed0056..29285ec 100644 --- a/server/src/main/java/com/yogit/server/board/service/BoardServiceImpl.java +++ b/server/src/main/java/com/yogit/server/board/service/BoardServiceImpl.java @@ -159,6 +159,7 @@ public ApplicationResponse> findAllBoards(GetAllBoardsReq dto){ PageRequest pageRequest = PageRequest.of(cursor, PAGING_SIZE, Sort.by(Sort.Direction.ASC, PAGING_STANDARD )); Slice boards = boardRepository.findAllBoards(pageRequest); + // 보드 res에 이미지uuid -> aws s3 url로 변환 List boardsRes = boards.stream() .map(board -> BoardRes.toDto(board, awsS3Service.makeUrlsOfFilenames(board.getBoardImagesUUids()))) .collect(Collectors.toList());