Skip to content

Commit

Permalink
#6 - Feat: Add content-id based review image urls search controller
Browse files Browse the repository at this point in the history
  • Loading branch information
eun61n00 committed Aug 21, 2023
1 parent 0631f86 commit 4007040
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@ public ResponseEntity<Mono<Void>> deleteAttractionReview(
) {
return new ResponseEntity<>(service.delete(attractionContentId, userId), HttpStatus.OK);
}

@GetMapping("/list/reviewImages/{attractionContentId}")
public ResponseEntity<Mono<List<String>>> attractionReviewImagesList(@PathVariable(name = "attractionContentId") String attractionContentId) {
return new ResponseEntity<>(service.listReviewImagesByContentId(attractionContentId), HttpStatus.OK);
}
}

0 comments on commit 4007040

Please sign in to comment.