From 913e7f9a2220740d0fc25f8ac8b0dc8752f97e17 Mon Sep 17 00:00:00 2001 From: SnehalP251 Date: Thu, 30 May 2024 12:23:50 +0530 Subject: [PATCH] authentication-root-fix replaced authentication.token with authentication.root --- src/utils/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 22940a25..9c97abbe 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -150,7 +150,7 @@ function pushReportToS3(report) { const parser = new xml2js.Parser(); let parsingSuccessful = false; if (!process.env.MACADDRESS) { - [result, err] = await handleAsyncFunction(FireboltExampleInvoker.get().invoke(CONSTANTS.CORE.toLowerCase(), 'Authentication.token', ['device'])); + [result, err] = await handleAsyncFunction(FireboltExampleInvoker.get().invoke(CONSTANTS.CORE.toLowerCase(), 'Authentication.token', [])); if (result && result.value && !err) { const bufferObj = Buffer.from(result.value, 'base64'); const xmlData = bufferObj.toString('utf8');