Skip to content

Commit 50c5074

Browse files
committed
Fix formatting
1 parent 61f82af commit 50c5074

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/google.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,14 @@ export async function getGithubUsersFromGoogle(): Promise<Set<string>> {
3030
let pageToken = null
3131

3232
do {
33-
let params = {
33+
const userList = await service.users.list({
3434
customer: 'my_customer',
3535
maxResults: 250,
3636
projection: 'custom',
3737
fields: 'users(customSchemas/Accounts/github(value)),nextPageToken',
3838
customFieldMask: 'Accounts',
3939
pageToken: pageToken,
40-
}
41-
const userList = await service.users.list(params)
40+
})
4241
pageToken = userList.data.nextPageToken
4342
githubAccounts = new Set([...githubAccounts, ...formatUserList(userList.data.users)])
4443
} while (pageToken != null)

0 commit comments

Comments
 (0)