Skip to content

Commit

Permalink
hotfix: 리스트 추천 uri 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
pparkjs committed Oct 30, 2024
1 parent 29fdecd commit 1dd6003
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class AuthorizationInterceptor implements HandlerInterceptor {

private static final UriAndMethod[] whiteList = {
new UriAndMethod("/lists/recommended", GET),
new UriAndMethod("/lists/recommend", GET),
new UriAndMethod("/lists/search", GET),
new UriAndMethod("/lists/{listId}/comments", GET),
new UriAndMethod("/lists/upload-url", GET),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ResponseEntity<ListDetailResponse> getListDetail(
return ResponseEntity.ok(listDetailResponse);
}

@GetMapping("/lists/recommended")
@GetMapping("/lists/recommend")
ResponseEntity<List<RecommendedListResponse>> getRecommendedLists() {
List<RecommendedListResponse> recommendedLists = listService.getRecommendedLists();
return ResponseEntity.ok().body(recommendedLists);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public abstract class ListAcceptanceTestHelper {

public static ExtractableResponse<Response> 추천_리스트_조회_API_호출() {
return given()
.when().get("/lists/recommended")
.when().get("/lists/recommend")
.then().log().all()
.extract();
}
Expand Down

0 comments on commit 1dd6003

Please sign in to comment.