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 814fd27 commit d2422aeCopy full SHA for d2422ae
lib/admin/examples/auditUsers.js
@@ -25,9 +25,11 @@ const auditUsers = async (args) => {
25
26
// Step 5 start
27
let results = [];
28
+ let opts = {};
29
30
for (const user of modifiedUsers) {
- const result = await usersApi.getUserProfiles(args.organizationId, user.email);
31
+ opts.email = user.email;
32
+ const result = await usersApi.getUserProfiles(args.organizationId, opts);
33
results.push(result.users);
34
}
35
// Step 5 end
0 commit comments