We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b42438 commit 8aa7051Copy full SHA for 8aa7051
src/main/java/clap/server/adapter/inbound/web/admin/FindMemberController.java
@@ -43,10 +43,6 @@ public ResponseEntity<PageResponse<RetrieveAllMemberResponse>> getAllMembers(
43
@RequestParam(defaultValue = "20") int pageSize,
44
@ModelAttribute @Valid FindMemberRequest filterRequest) {
45
46
- if (filterRequest.name() != null && filterRequest.name().trim().isEmpty()) {
47
- throw ApplicationException.from(MemberErrorCode.NAME_CANNOT_BE_EMPTY);
48
- }
49
-
50
Pageable pageable = PageRequest.of(page, pageSize);
51
PageResponse<RetrieveAllMemberResponse> response = findMembersWithFilterUsecase.findMembersWithFilter(pageable, filterRequest);
52
return ResponseEntity.ok(response);
0 commit comments