@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.
- package/lib/Round.js +1 -9
- 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',
|
|
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
|
|