@dhyasama/totem-models 2.5.0 → 2.6.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.
@@ -101,8 +101,8 @@ module.exports = function(mongoose, config) {
101
101
  query.where({'attendees.external': { $in : personIds }});
102
102
  query.where({ startTime: { $gte: options.after }});
103
103
  query.where({ startTime: { $lte: options.before }});
104
- query.populate('attendees.internal', 'name title avatarUrl');
105
- query.populate('attendees.external', 'name title avatarUrl');
104
+ query.populate('attendees.internal', 'name title avatarUrl doNotDisplay');
105
+ query.populate('attendees.external', 'name title avatarUrl doNotDisplay');
106
106
  query.populate({
107
107
  path: 'notes',
108
108
  match: { customer: config.CUSTOMER_ID }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "2.5.0",
3
+ "version": "2.6.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",