@tiledesk/tiledesk-whatsapp-connector 0.1.55 → 0.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1367,7 +1367,7 @@ async function startApp(settings, callback) {
1367
1367
  winston.info("(wab) JOB_TOPIC_EXCHANGE is present");
1368
1368
  }
1369
1369
 
1370
- mongoose.connect(process.env.MONGODB_URL)
1370
+ mongoose.connect(settings.MONGODB_URL)
1371
1371
  .then(() => { winston.info("Mongoose DB Connected") })
1372
1372
  .catch((err) => { winston.error("(Mongoose) Unable to connect with MongoDB ", err)
1373
1373
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-whatsapp-connector",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "Tiledesk Whatsapp connector",
5
5
  "main": "index.js",
6
6
  "scripts": {