Skip to content

Commit

Permalink
remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
PreethiMaai committed Oct 16, 2024
1 parent 6b79b24 commit d4affd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 0 additions & 2 deletions src/pubSubClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d4affd9

Please sign in to comment.