Skip to content

Commit

Permalink
Updates scim ids and var expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
typeoneerror committed Oct 4, 2023
1 parent 93c5ac9 commit d62a91a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/scim/groups/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
const { scim, yargs } = require('../../shared/scim');
const { log } = require('../../shared/utils');

const groupId = '3dcd9218-8b1b-45d5-8ee9-860de3511fbd';
const groupId = '70158620-4985-4b86-b08e-95657b6d2edf';
const argv = yargs.default({ groupId }).argv;

(async () => {
Expand Down
3 changes: 2 additions & 1 deletion examples/scim/users/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ const argv = yargs.boolean('sort').option('e', { alias: 'email', type: 'string'
}

try {
let data = await scim.get('Users', { params });
let {
data: { Resources: users },
} = await scim.get('Users', { params });
} = data;

users = _.reduce(
users,
Expand Down

0 comments on commit d62a91a

Please sign in to comment.