diff --git a/README.md b/README.md index 43747269..5984c4fe 100644 --- a/README.md +++ b/README.md @@ -154,4 +154,3 @@ For pinChallenge and acknowledgeChallenge UI prompts , a timeout of 15s is added The prompt is displayed when the user needs to grant/deny a particular api, or the user has to enter a pin in-case of pinChallenge. If user wants to grant an api, yes button is pressed, for deniel - no button, and incase if the user wants to dismiss the prompt without any action, back button is pressed. - diff --git a/src/utils/Utils.js b/src/utils/Utils.js index 3ba1d442..4ac82dca 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -119,6 +119,7 @@ async function getschemaValidationDone(name, response, sdkType) { function censorData(methodName, response) { try { const json = censorDataJson; + methodName = methodName.charAt(0).toUpperCase() + methodName.slice(1); if (methodName in json) { for (let i = 0; i < json[methodName].field.length; i++) { if (response[json[methodName].field[i]]) { diff --git a/webpack.dev.js b/webpack.dev.js index 123e7c79..51ac2894 100644 --- a/webpack.dev.js +++ b/webpack.dev.js @@ -108,6 +108,10 @@ module.exports = { name: 'CensorData', alias: ['/plugins/censorData.json', '/src/source/censorData.json'], }, + { + name: 'runTestHandler', + alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], + }, ], 'resolve' ), diff --git a/webpack.prod.js b/webpack.prod.js index 5778ea61..0d35ac90 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -91,6 +91,10 @@ module.exports = { name: 'CensorData', alias: ['/plugins/censorData.json', '/src/source/censorData.json'], }, + { + name: 'runTestHandler', + alias: ['/plugins/runTestHandler.js', '/src/pubsub/handlers/RunTestHandler.js'], + }, ], 'resolve' ),