Skip to content

Commit 32b3ca3

Browse files
committed
[FIX] 그룹 조회 시 정렬 방식 필수값으로 받도록 수정
1 parent 9bbd822 commit 32b3ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/routineade/RoutineAdeServer/controller/GroupController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public ResponseEntity<UserGroupsGetResponse> getUserGroups(Principal principal)
155155
@GetMapping
156156
public ResponseEntity<GroupsGetResponse> getGroups(Principal principal,
157157
@RequestParam(required = false) String groupCategory,
158-
@RequestParam(required = false) String sortType,
158+
@RequestParam String sortType,
159159
@RequestParam(required = false) Long groupCode,
160160
@RequestParam(required = false) String keyword) {
161161
User user = userService.getUserOrException(Long.valueOf(principal.getName()));

0 commit comments

Comments
 (0)