fix bug getListUser
This commit is contained in:
parent
c30f4eb572
commit
43a1dfe8d2
2 changed files with 10 additions and 7 deletions
|
|
@ -209,7 +209,7 @@ export class KeycloakController extends Controller {
|
|||
|
||||
@Get("user")
|
||||
async getUserList(@Query() first = "", @Query() max = "", @Query() search = "") {
|
||||
const total = await getUserCount();
|
||||
const total = await getUserCount(first, max, search);
|
||||
const result = await getUserList(first, max, search);
|
||||
|
||||
if (Array.isArray(result)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue