diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 22940a25..1d954147 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.root', [])); if (result && result.value && !err) { const bufferObj = Buffer.from(result.value, 'base64'); const xmlData = bufferObj.toString('utf8');