@optimiser/common 1.0.335 → 1.0.336

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.
@@ -3831,7 +3831,7 @@ function SyncUserLicenceConsumedCount(msp_d, db, dbMaster) {
3831
3831
  if (comLicenceInUserLicence && comLicenceInUserLicence.length) {
3832
3832
  bulkLicenceOps = [{
3833
3833
  updateMany: {
3834
- filter: { 'CompanyID': new mongodb_1.ObjectId(msp_d.ci), 'LicenceType': { $ne: 'Domain' }, Status: 'active', IsActive: true },
3834
+ filter: { 'CompanyID': new mongodb_1.ObjectId(msp_d.ci), 'LicenceType': { $ne: 'Domain' }, IsActive: true },
3835
3835
  update: [
3836
3836
  { $set: { 'NoOfLicenceConsumed': 0 } },
3837
3837
  { $set: { 'NoOfRemainingLicence': "$NoOfLicence" } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optimiser/common",
3
- "version": "1.0.335",
3
+ "version": "1.0.336",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {