Skip to content

Commit 024ff38

Browse files
committed
Remove user params
1 parent 986940e commit 024ff38

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

src/main/java/com/github/throyer/common/springboot/controllers/api/UsersController.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,6 @@ public class UsersController {
5353
public ResponseEntity<Page<UserDetails>> index(
5454
Optional<Integer> page,
5555
Optional<Integer> size
56-
// Optional<String> name,
57-
// Optional<String> email,
58-
// ArrayList<String> roles
5956
) {
6057
var result = findService.findAll(page, size);
6158
return ok(result);

src/main/java/com/github/throyer/common/springboot/controllers/app/UserController.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
package com.github.throyer.common.springboot.controllers.app;
22

3-
import com.github.throyer.common.springboot.domain.models.pagination.Page;
4-
import com.github.throyer.common.springboot.domain.models.pagination.Pagination;
53
import com.github.throyer.common.springboot.domain.models.shared.Type;
6-
import com.github.throyer.common.springboot.domain.repositories.UserRepository;
74
import com.github.throyer.common.springboot.domain.services.user.FindUserService;
85
import com.github.throyer.common.springboot.domain.services.user.RemoveUserService;
9-
import com.github.throyer.common.springboot.domain.services.user.dto.SearchUser;
106
import com.github.throyer.common.springboot.utils.Toasts;
117
import java.util.Optional;
128
import org.springframework.beans.factory.annotation.Autowired;
13-
import org.springframework.data.domain.Sort;
149
import org.springframework.security.access.prepost.PreAuthorize;
1510
import org.springframework.stereotype.Controller;
1611
import org.springframework.ui.Model;
@@ -36,9 +31,6 @@ public String index(
3631
Model model,
3732
Optional<Integer> page,
3833
Optional<Integer> size
39-
// Optional<String> name,
40-
// Optional<String> email,
41-
// ArrayList<String> roles
4234
) {
4335

4436
var result = findService.findAll(page, size);

0 commit comments

Comments
 (0)