@dhyasama/totem-models 11.75.0 → 11.76.0

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.
@@ -219,7 +219,7 @@ module.exports = function(mongoose, config) {
219
219
 
220
220
  let query = self.find({ totemCustomerId: options.CUSTOMER_ID });
221
221
 
222
- query.where({'attendees.external': { $in : personIds }});
222
+ query.where({ $or: [ { 'attendees.external': { $in: personIds } }, { 'attendees.internal': { $in: personIds } } ] });
223
223
  query.where({ startTime: { $gte: options.after }});
224
224
  query.where({ startTime: { $lte: options.before }});
225
225
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.75.0",
3
+ "version": "11.76.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",