Skip to content

Commit

Permalink
Merge pull request #132 from rdkcentral/authentication-root-fix
Browse files Browse the repository at this point in the history
authentication-root-fix replaced authentication.token with authentica…
  • Loading branch information
neeradanelxsi authored May 30, 2024
2 parents e64feea + 8718b41 commit c68102e
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', ['device']));
[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 c68102e

Please sign in to comment.