Skip to content

Commit bbe77bd

Browse files
committed
Merge remote-tracking branch 'public/master'
2 parents 0dd23a7 + 4f8d1e8 commit bbe77bd

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

lib/admin/examples/createUser.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const createUser = async(args) => {
2121
apiClient.addDefaultHeader("Authorization", "Bearer " + args.accessToken);
2222
// Step 2 end
2323

24-
// Step 5 start
24+
// Step 3 start
2525
const userData = {
2626
user_name: args.user_name,
2727
first_name: args.first_name,
@@ -42,29 +42,25 @@ const createUser = async(args) => {
4242
}
4343
]
4444
};
45-
// Step 5 end
45+
// Step 3 end
4646

47-
// Step 6 start
47+
// Step 4 start
4848
const usersApi = new docusignAdmin.UsersApi(apiClient);
4949
return usersApi.createUser(userData, args.organizationId);
50-
// Step 6 end
50+
// Step 4 end
5151
}
5252

5353
const getPermissionProfilesAndGroups = async(args) => {
5454
const apiClient = new docusignESign.ApiClient();
5555
apiClient.setBasePath(args.basePath);
5656
apiClient.addDefaultHeader("Authorization", "Bearer " + args.accessToken);
5757

58-
// Step 3 start
5958
const accountsApi = new docusignESign.AccountsApi(apiClient);
6059
const profiles = await accountsApi.listPermissions(args.accountId);
61-
// Step 3 end
6260

63-
// Step 4 start
6461
const groupsApi = new docusignESign.GroupsApi(apiClient);
6562
const groups = await groupsApi.listGroups(args.accountId);
66-
// Step 4 end
67-
63+
6864
return { profiles, groups };
6965
}
7066

package-lock.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)