File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ const createAccount = async (args) => {
1313 //ds-snippet-end:Admin13Step2
1414
1515 //ds-snippet-start:Admin13Step4
16- const accountData = {
17- subscriptionDetails : {
16+ const accountData = docusignAdmin . SubAccountCreateRequest . constructFromObject ( {
17+ subscriptionDetails : docusignAdmin . SubAccountCreateRequestSubAccountCreationSubscription . constructFromObject ( {
1818 id : args . subscriptionId ,
1919 planId : args . planId ,
2020 modules : [ ] ,
21- } ,
21+ } ) ,
2222 targetAccount : docusignAdmin . SubAccountCreateRequestSubAccountCreationTargetAccountDetails . constructFromObject ( {
2323 name : 'CreatedThroughAPI' ,
2424 countryCode : 'US' ,
@@ -29,7 +29,7 @@ const createAccount = async (args) => {
2929 locale : 'en' ,
3030 } ) ,
3131 } ) ,
32- } ;
32+ } ) ;
3333 //ds-snippet-end:Admin13Step4
3434
3535 //ds-snippet-start:Admin13Step5
You can’t perform that action at this time.
0 commit comments