From d4affd9074bd77ed543602271f7b901458330609 Mon Sep 17 00:00:00 2001 From: "preethi.m" Date: Wed, 16 Oct 2024 16:25:45 +0530 Subject: [PATCH] remove console logs --- src/App.js | 5 ++--- src/pubSubClient.js | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/App.js b/src/App.js index ac97acac..037a449e 100644 --- a/src/App.js +++ b/src/App.js @@ -395,13 +395,12 @@ export default class App extends Base { if (lifecycle_validationString == true) { process.env.LIFECYCLE_VALIDATION = 'true'; } - console.log('2458 query.params >>>>..',query.params); if (query.params.pubSubPublishSuffix) { - process.env.PUBSUB_PUBLISH_TOPIC_SUFFIX = query.params.pubSubPublishSuffix; + process.env.PUBSUB_SUBSCRIBE_TOPIC_SUFFIX = query.params.pubSubPublishSuffix; } if (query.params.pubSubSubscribeSuffix) { - process.env.PUBSUB_SUBSCRIBE_TOPIC_SUFFIX = query.params.pubSubSubscribeSuffix; + process.env.PUBSUB_PUBLISH_TOPIC_SUFFIX = query.params.pubSubSubscribeSuffix; } process.env.APP_TYPE = query.params.appType ? query.params.appType.toLowerCase() : CONSTANTS.FIREBOLT_CONST; diff --git a/src/pubSubClient.js b/src/pubSubClient.js index 73ec2d09..c5dd2469 100644 --- a/src/pubSubClient.js +++ b/src/pubSubClient.js @@ -49,8 +49,6 @@ class PubSubClient { console.warn(`WARNING: No pubsub_uuid query parameter or MAC address found. Using default value: ${pubSubTopic}`); } - console.log('2458 subscribe >>>>..',this.PUBSUB_SUBSCRIBE_TOPIC_SUFFIX); - console.log('2458 publish >>>>..',this.PUBSUB_PUBLISH_TOPIC_SUFFIX); process.env.PUBSUB_SUBSCRIBE_TOPIC = pubSubTopic + '_' + appId + this.PUBSUB_SUBSCRIBE_TOPIC_SUFFIX; process.env.PUBSUB_PUBLISH_TOPIC = pubSubTopic + '_' + appId + this.PUBSUB_PUBLISH_TOPIC_SUFFIX;