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) => {
43
43
44
44
//ds-snippet-start:Rooms4Step3
45
45
let formLibrariesApi = new docusignRooms . FormLibrariesApi ( dsApiClient ) ;
46
- let formLibrariesResults = null ;
46
+ let formLibrariesResults = null ;
47
47
48
48
formLibrariesResults = await formLibrariesApi . getFormLibraries (
49
49
args . accountId
@@ -53,7 +53,9 @@ const getFormsAndRooms = async (args) => {
53
53
return ;
54
54
}
55
55
56
- const firstFormLibraryId = formLibraries . formsLibrarySummaries . find ( lib => lib . formCount > 0 ) . formsLibraryId ;
56
+ const firstFormLibraryId = formLibrariesResults . formsLibrarySummaries . find (
57
+ ( lib ) => lib . formCount > 0
58
+ ) . formsLibraryId ;
57
59
const formsResults = await formLibrariesApi . getFormLibraryForms (
58
60
args . accountId ,
59
61
firstFormLibraryId
You can’t perform that action at this time.
0 commit comments