Skip to content

Commit

Permalink
feat(next/api): fetch more than 100 admin users
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjdd committed Dec 7, 2023
1 parent 5795854 commit 0d7bc39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/api/src/model/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class User extends Model {
}
}

return qb.find({ useMasterKey: true });
return qb.limit(1000).find({ useMasterKey: true });
}

static async getCustomerServices(active?: boolean): Promise<User[]> {
Expand Down

0 comments on commit 0d7bc39

Please sign in to comment.