From a4b407eb4b9f9d2faf36c06c6e3c5d966123dfc9 Mon Sep 17 00:00:00 2001 From: Valentina Schiavi Date: Wed, 17 Jan 2024 14:29:10 +0100 Subject: [PATCH] Add key to auth field in load.json file Fixes #195 --- server/service/IndividualServicesService.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/server/service/IndividualServicesService.js b/server/service/IndividualServicesService.js index 66c9184..8b454dc 100644 --- a/server/service/IndividualServicesService.js +++ b/server/service/IndividualServicesService.js @@ -455,7 +455,8 @@ const EmbeddingCausesRequestForListOfApplicationsAtRo = async function (user, or return new Promise(async function (resolve, reject) { try { - let auth = "Basic YWRtaW46YWRtaW4="; + //let auth = "Basic YWRtaW46YWRtaW4="; + let auth; let applicationNameAndHttpClient = await resolveApplicationNameAndHttpClientLtpUuidFromForwardingName('EmbeddingCausesRequestForListOfApplicationsAtRo'); @@ -543,7 +544,8 @@ const EmbeddingCausesRequestForListOfApplicationsAtRo = async function (user, or const EmbeddingCausesRequestForListOfDevicesAtMwdi = async function (user, originator, xCorrelator, traceIndicator, customerJourney) { return new Promise(async function (resolve, reject) { try { - let auth = "Basic YWRtaW46YWRtaW4="; + //let auth = "Basic YWRtaW46YWRtaW4="; //used as default value + let auth; let applicationNameAndHttpClient = await resolveApplicationNameAndHttpClientLtpUuidFromForwardingName('EmbeddingCausesRequestForListOfDevicesAtMwdi'); @@ -1080,7 +1082,8 @@ async function PromptForUpdatingMacTableFromDeviceCausesUuidOfMacFdBeingSearched //STEP 2 async function PromptForUpdatingMacTableFromDeviceCausesMacTableBeingRetrievedFromDevice(mountName, user, originator, xCorrelator, traceIndicator, customerJourney) { try { - let auth = "Basic YWRtaW46YWRtaW4="; + //let auth = "Basic YWRtaW46YWRtaW4=" //used as default value; + let auth; let applicationNameAndHttpClient = await resolveApplicationNameAndHttpClientLtpUuidFromForwardingName('PromptForUpdatingMacTableFromDeviceCausesMacTableBeingRetrievedFromDevice');