Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SnehalP251 committed May 30, 2024
1 parent 913e7f9 commit 8718b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', []));
[result, err] = await handleAsyncFunction(FireboltExampleInvoker.get().invoke(CONSTANTS.CORE.toLowerCase(), 'Authentication.root', []));
if (result && result.value && !err) {
const bufferObj = Buffer.from(result.value, 'base64');
const xmlData = bufferObj.toString('utf8');
Expand Down

0 comments on commit 8718b41

Please sign in to comment.