diff --git a/ssupetition/Dockerfile b/ssupetition/Dockerfile index 8a4c590..15ad191 100644 --- a/ssupetition/Dockerfile +++ b/ssupetition/Dockerfile @@ -28,8 +28,7 @@ RUN wget -qO - https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor rm -rf /var/lib/apt/lists/* -# 4. ChromeDriver 설치 (137.0.7151.70) -ARG CHROME_DRIVER_VERSION=137.0.7151.70 +ARG CHROME_DRIVER_VERSION=139.0.7258.138 RUN wget -O /tmp/chromedriver.zip \ "https://storage.googleapis.com/chrome-for-testing-public/${CHROME_DRIVER_VERSION}/linux64/chromedriver-linux64.zip" && \ unzip /tmp/chromedriver.zip -d /tmp && \ diff --git a/ssupetition/src/main/java/com4table/ssupetition/domain/post/controller/PostController.java b/ssupetition/src/main/java/com4table/ssupetition/domain/post/controller/PostController.java index e4d5ab5..e57d379 100644 --- a/ssupetition/src/main/java/com4table/ssupetition/domain/post/controller/PostController.java +++ b/ssupetition/src/main/java/com4table/ssupetition/domain/post/controller/PostController.java @@ -152,8 +152,13 @@ public ResponseEntity addPostDisagree(@PathVariable(name = "postId" @Operation(description = "모든 게시글 가져오기") @GetMapping - public List getPostList() { - return postService.getAllPosts(); + public BaseResponse> getPostList() { + return BaseResponse.>builder() + .code(200) + .data(postService.getAllPosts()) + .isSuccess(true) + .message("모든 게시글 정보를 가져왔습니다.") + .build(); } @Operation(description = "모든 동의된 게시글 가져오기")