console log tidying
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 " +
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user