fix bug getListUser

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-05-31 13:53:08 +07:00
parent c30f4eb572
commit 43a1dfe8d2
2 changed files with 10 additions and 7 deletions

View file

@ -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)) {