update jsonpath for csp fix

This commit is contained in:
2025-04-15 12:59:27 +01:00
parent 1caab59c05
commit 05f791e6a8
57 changed files with 1585 additions and 1041 deletions
+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 + '")]',