@dhyasama/totem-models 10.72.1 → 10.73.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.
Files changed (2) hide show
  1. package/lib/Round.js +1 -9
  2. package/package.json +1 -1
package/lib/Round.js CHANGED
@@ -264,15 +264,7 @@ module.exports = function(mongoose, config) {
264
264
 
265
265
  if (!cb) { throw new Error('cb is required'); }
266
266
 
267
- self.distinct('organization', function(err, orgIds) {
268
-
269
- if (err) return cb(err, null);
270
-
271
- self.find({ _id: { $in: orgIds } })
272
- .select('name website websiteAliases')
273
- .exec(cb);
274
-
275
- });
267
+ self.distinct('organization', cb);
276
268
 
277
269
  };
278
270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "10.72.1",
3
+ "version": "10.73.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",