Merge branch 'Development' into SIPS-Development

This commit is contained in:
2025-04-15 13:22:35 +01:00
57 changed files with 1601 additions and 1055 deletions
@@ -627,7 +627,11 @@ export default async function ApiProxy(req, res) {
})
);
searchResultsObj = jsonpath("$..[?(@ && @.pinswg_name)]", searchResultsObj);
searchResultsObj = jsonpath({
path: "$..[?(@ && @.pinswg_name)]",
json: searchResultsObj,
sandbox: {},
});
searchResultsObj = searchResultsObj.filter((arr) => arr.incidentid != null);
+5 -1
View File
@@ -48,7 +48,11 @@ export default async function ApiProxy(req, res) {
const lpaList = await getLPA();
const lpaGUID = jsonpath('$..[?(@.name=="' + lpaid + '")]', lpaList);
const lpaGUID = jsonpath({
path: '$..[?(@.name=="' + lpaid + '")]',
json: lpaList,
sandbox: {},
});
//console.log(
// '$..[?(@.name="' + lpaid + '")]',