@tiledesk/tiledesk-whatsapp-connector 0.1.1 → 0.1.2

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
@@ -591,7 +591,7 @@ function readHTMLFile(templateName, callback) {
591
591
  console.log("file: ", file);
592
592
  console.log("*** appRoot: ", appRoot.toString());
593
593
  console.log("type: ", typeof(appRoot))
594
- fs.readFile('./template' + templateName, { encoding: 'utf-8' },
594
+ fs.readFile(__dirname + '/template' + templateName, { encoding: 'utf-8' },
595
595
  function(err, html) {
596
596
  if (err) {
597
597
  throw err;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-whatsapp-connector",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Tiledesk Whatsapp connector",
5
5
  "main": "index.js",
6
6
  "scripts": {