console log tidying

This commit is contained in:
2024-06-05 19:50:56 +01:00
parent 3284bce649
commit 2a6cd32452
44 changed files with 290 additions and 466 deletions
@@ -431,7 +431,7 @@ export default async function ApiProxy(req, res) {
item.NavigationProperty.toLowerCase() +
"_value";
// console.log(
//console.log(
// "\n==========================================\n",
// "basic search: " + queryUrl,
// "\n\n",
@@ -458,7 +458,7 @@ export default async function ApiProxy(req, res) {
item.NavigationProperty.toLowerCase() +
"_value";
// console.log(
//console.log(
// "\n==========================================\n",
// "basic search: " + queryUrl,
// "\n\n",
+7 -7
View File
@@ -50,13 +50,13 @@ export default async function ApiProxy(req, res) {
const lpaGUID = jsonpath('$..[?(@.name=="' + lpaid + '")]', lpaList);
console.log(
'$..[?(@.name="' + lpaid + '")]',
lpaList,
lpaid,
"LPAGUID=",
lpaGUID
);
//console.log(
// '$..[?(@.name="' + lpaid + '")]',
// lpaList,
// lpaid,
// "LPAGUID=",
// lpaGUID
// );
var queryUrl =
"incidents?$select=modifiedon,description,numberofchildincidents,_accountid_value,_customerid_value,_pinswg_associatedlpa_value,_ownerid_value,pinswg_appealcasetype,statuscode,ticketnumber,title, _primarycontactid_value,pinswg_lpareference,pinswg_appellantlastname,pinswg_appellantfirstname,pinswg_appellantagent,pinswg_agentfirstname,pinswg_agentlastname,pinswg_agentcompanyname&$expand=primarycontactid($select=fullname)&$filter=_pinswg_associatedlpa_value eq " +
+1 -1
View File
@@ -45,7 +45,7 @@ export default async function ApiProxy(req, res) {
contactid +
")?$select=firstname, lastname, emailaddress1, telephone1, company, address1_line1,address1_line2,address1_city, address1_county,address1_postalcode,pinswg_typeofinvolvement,pinswg_contact_associatedlpa,pinswg_preferredlanguage&$count=true";
// console.log(WEBAPI_URL + queryUrl + hashAPIPath(queryUrl));
//console.log(WEBAPI_URL + queryUrl + hashAPIPath(queryUrl));
var apiResponse =
contactid.length > 0