Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ssupetition/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,13 @@ public ResponseEntity<ResponseDto> addPostDisagree(@PathVariable(name = "postId"

@Operation(description = "모든 게시글 가져오기")
@GetMapping
public List<PostResponse.AllListDTO> getPostList() {
return postService.getAllPosts();
public BaseResponse<List<PostResponse.AllListDTO>> getPostList() {
return BaseResponse.<List<PostResponse.AllListDTO>>builder()
.code(200)
.data(postService.getAllPosts())
.isSuccess(true)
.message("모든 게시글 정보를 가져왔습니다.")
.build();
}

@Operation(description = "모든 동의된 게시글 가져오기")
Expand Down