File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const getFormsAndRooms = async (args) => {
4343
4444 //ds-snippet-start:Rooms4Step3
4545 let formLibrariesApi = new docusignRooms . FormLibrariesApi ( dsApiClient ) ;
46- let formLibrariesResults = null ;
46+ let formLibrariesResults = null ;
4747
4848 formLibrariesResults = await formLibrariesApi . getFormLibraries (
4949 args . accountId
@@ -53,7 +53,9 @@ const getFormsAndRooms = async (args) => {
5353 return ;
5454 }
5555
56- const firstFormLibraryId = formLibraries . formsLibrarySummaries . find ( lib => lib . formCount > 0 ) . formsLibraryId ;
56+ const firstFormLibraryId = formLibrariesResults . formsLibrarySummaries . find (
57+ ( lib ) => lib . formCount > 0
58+ ) . formsLibraryId ;
5759 const formsResults = await formLibrariesApi . getFormLibraryForms (
5860 args . accountId ,
5961 firstFormLibraryId
You can’t perform that action at this time.
0 commit comments