@dhyasama/totem-models 11.80.0 → 11.81.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.
@@ -1753,6 +1753,10 @@ module.exports = function(mongoose, config) {
1753
1753
  customer: customerId,
1754
1754
  createdOn: { $gte: startDate, $lte: endDate }
1755
1755
  },
1756
+ populate: {
1757
+ path: 'createdBy',
1758
+ select: 'name avatarUrl'
1759
+ }
1756
1760
  })
1757
1761
 
1758
1762
  query.exec(function(err, result) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.80.0",
3
+ "version": "11.81.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",