@dhyasama/totem-models 11.4.0 → 11.5.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 +2 -1
- package/package.json +1 -1
package/lib/Round.js
CHANGED
|
@@ -628,7 +628,7 @@ module.exports = function(mongoose, config) {
|
|
|
628
628
|
let query = self.find({ 'vehicles.fund': { $in: fundIds } });
|
|
629
629
|
|
|
630
630
|
query.select('organization');
|
|
631
|
-
query.populate('organization', 'name people');
|
|
631
|
+
query.populate('organization', 'name people website');
|
|
632
632
|
|
|
633
633
|
query.exec(function(err, rounds) {
|
|
634
634
|
|
|
@@ -650,6 +650,7 @@ module.exports = function(mongoose, config) {
|
|
|
650
650
|
portfolio.push({
|
|
651
651
|
_id: rounds[0].organization._id,
|
|
652
652
|
name: rounds[0].organization.name,
|
|
653
|
+
website: rounds[0].organization.website,
|
|
653
654
|
people: rounds[0].organization.people
|
|
654
655
|
});
|
|
655
656
|
|