@optimiser/common 1.0.257 → 1.0.258

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.
@@ -3469,9 +3469,12 @@ function SyncUserLicenceConsumedCount(msp_d, db, dbMaster) {
3469
3469
  companyLicencesData_1 = (companySetting.Setting.Licences) ? companySetting.Setting.Licences : {};
3470
3470
  if (isEmptyObj(companyLicencesData_1) == false) {
3471
3471
  for (i in companyLicencesData_1) {
3472
- companyLicenceType = companyLicencesData_1[i];
3473
- for (j in companyLicenceType) {
3474
- companyLicenceType[j].NoOfLicenceConsumed = 0;
3472
+ /*Added by Chetan on 07-Mar-2022, Not necessary for Domain Licence*/
3473
+ if (i != "Domain") {
3474
+ companyLicenceType = companyLicencesData_1[i];
3475
+ for (j in companyLicenceType) {
3476
+ companyLicenceType[j].NoOfLicenceConsumed = 0;
3477
+ }
3475
3478
  }
3476
3479
  }
3477
3480
  db.collection('UserLicence').aggregate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.257",
3
+ "version": "1.0.258",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {