We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61f82af commit 50c5074Copy full SHA for 50c5074
src/google.ts
@@ -30,15 +30,14 @@ export async function getGithubUsersFromGoogle(): Promise<Set<string>> {
30
let pageToken = null
31
32
do {
33
- let params = {
+ const userList = await service.users.list({
34
customer: 'my_customer',
35
maxResults: 250,
36
projection: 'custom',
37
fields: 'users(customSchemas/Accounts/github(value)),nextPageToken',
38
customFieldMask: 'Accounts',
39
pageToken: pageToken,
40
- }
41
- const userList = await service.users.list(params)
+ })
42
pageToken = userList.data.nextPageToken
43
githubAccounts = new Set([...githubAccounts, ...formatUserList(userList.data.users)])
44
} while (pageToken != null)
0 commit comments