Skip to content

Commit

Permalink
refactor: 내가 만든 그룹 uri 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
skylar1220 committed Jan 13, 2025
1 parent 155cd8b commit 8ca55d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ReviewGroupController {
private final ReviewGroupService reviewGroupService;
private final ReviewGroupLookupService reviewGroupLookupService;

@GetMapping("/v2/groups")
@GetMapping("/v2/groups/summary")
public ResponseEntity<ReviewGroupResponse> getReviewGroupSummary(@RequestParam String reviewRequestCode) {
ReviewGroupResponse response = reviewGroupLookupService.getReviewGroupSummary(reviewRequestCode);
return ResponseEntity.ok(response);
Expand Down
4 changes: 2 additions & 2 deletions backend/src/test/java/reviewme/api/ReviewGroupApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class ReviewGroupApiTest extends ApiTest {

givenWithSpec().log().all()
.queryParam("reviewRequestCode", "ABCD1234")
.when().get("/v2/groups")
.when().get("/v2/groups/summary")
.then().log().all()
.apply(handler)
.statusCode(200);
Expand Down Expand Up @@ -155,7 +155,7 @@ class ReviewGroupApiTest extends ApiTest {

givenWithSpec().log().all()
.queryParam("reviewRequestCode", "ABCD1234")
.when().get("/v2/groups")
.when().get("/v2/groups/summary")
.then().log().all()
.apply(handler)
.statusCode(200);
Expand Down

0 comments on commit 8ca55d9

Please sign in to comment.