@tiledesk/tiledesk-server 2.3.65 → 2.3.66

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.3.65",
4
+ "version": "2.3.66",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -129,7 +129,7 @@ class EmailService {
129
129
  if (process.env.EMAIL_CC_ENABLED ==="true" || process.env.EMAIL_CC_ENABLED === true ) {
130
130
  this.ccEnabled = true;
131
131
  }
132
- winston.info('EmailService ccEnabled: ' + ccEnabled);
132
+ winston.info('EmailService ccEnabled: ' + this.ccEnabled);
133
133
 
134
134
  }
135
135
 
@@ -1131,7 +1131,7 @@ class EmailService {
1131
1131
  references = message.request.attributes.email_references;
1132
1132
  }
1133
1133
 
1134
- if (this.ccEnabled==true) {
1134
+ if (that.ccEnabled==true) {
1135
1135
  if (message.request.attributes.email_cc) {
1136
1136
  cc = message.request.attributes.email_cc;
1137
1137
  }
@@ -1303,7 +1303,7 @@ class EmailService {
1303
1303
  references = message.request.attributes.email_references;
1304
1304
  }
1305
1305
 
1306
- if (this.ccEnabled==true) {
1306
+ if (that.ccEnabled==true) {
1307
1307
  if (message.request.attributes.email_cc) {
1308
1308
  cc = message.request.attributes.email_cc;
1309
1309
  }