Skip to content

Commit b674ee3

Browse files
Merge pull request #45 from sailpoint-oss/fix/SearchDocuments
Added code to fix SearchDocuments issue
2 parents ee9209f + 88d7aea commit b674ee3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

sdk-resources/prescript.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,14 @@ const fixFiles = function (myArray) {
6868
madeChange = true;
6969
}
7070

71-
71+
// remove the complex search schema
72+
if (file.includes(path.join("documents", "SearchDocuments.yaml"))) {
73+
fileOut.push("type: object");
74+
rawDataArra = fileOut.slice();
75+
fileOut = [];
76+
madeChange = true;
77+
}
78+
7279

7380

7481

0 commit comments

Comments
 (0)