Skip to content

Commit

Permalink
loadAllUsers defaulted to return 100 only
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketeerbkw committed Nov 7, 2019
1 parent c6b27b4 commit 19ed06a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion services/api/src/models/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ export const User = (clients): UserModel => {
};

const loadAllUsers = async (): Promise<User[]> => {
const keycloakUsers = await keycloakAdminClient.users.find();
const keycloakUsers = await keycloakAdminClient.users.find({
max: -1,
});

const users = await transformKeycloakUsers(keycloakUsers);

Expand Down

0 comments on commit 19ed06a

Please sign in to comment.