File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff 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
5353const 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
You can’t perform that action at this time.
0 commit comments