@optimiser/common 1.0.350 → 1.0.351

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.
@@ -106,13 +106,11 @@ function GetEmailwiseUnsubscribeData(db, mailID, domainID) {
106
106
  }
107
107
  var _loop_1 = function (i) {
108
108
  compaignObj = listSchema_1[i];
109
- if (compaignObj.HideForUser != true) {
110
- if (lstData != null && lstData.CampaignUnsubsCategory && lstData.CampaignUnsubsCategory.length > 0 && lstData.CampaignUnsubsCategory.filter(function (p) { return p == listSchema_1[i].Key; }).length > 0) {
111
- obj.push({ 'Key': compaignObj.Key, 'Value': compaignObj.Value, 'DomainID': compaignObj.DomainID, 'checked': true });
112
- }
113
- else {
114
- obj.push({ 'Key': compaignObj.Key, 'Value': compaignObj.Value, 'DomainID': compaignObj.DomainID, 'checked': false });
115
- }
109
+ if (lstData != null && lstData.CampaignUnsubsCategory && lstData.CampaignUnsubsCategory.length > 0 && lstData.CampaignUnsubsCategory.filter(function (p) { return p == listSchema_1[i].Key; }).length > 0) {
110
+ obj.push({ 'Key': compaignObj.Key, 'Value': compaignObj.Value, 'DomainID': compaignObj.DomainID, 'checked': true, 'HideForUser': compaignObj.HideForUser });
111
+ }
112
+ else {
113
+ obj.push({ 'Key': compaignObj.Key, 'Value': compaignObj.Value, 'DomainID': compaignObj.DomainID, 'checked': false, 'HideForUser': compaignObj.HideForUser });
116
114
  }
117
115
  };
118
116
  var compaignObj;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.350",
3
+ "version": "1.0.351",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {