@dhyasama/totem-models 6.8.4 → 6.8.6
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/List.js +1 -1
- package/lib/Organization.js +1 -1
- package/package.json +1 -1
package/lib/List.js
CHANGED
|
@@ -137,7 +137,7 @@ module.exports = function(mongoose, config) {
|
|
|
137
137
|
})
|
|
138
138
|
.populate('createdBy', 'name avatarUrl')
|
|
139
139
|
.populate('limitedPartners', 'name logoUrl fundsInvested')
|
|
140
|
-
.populate('organizations', 'name logoUrl')
|
|
140
|
+
.populate('organizations', 'name logoUrl contact')
|
|
141
141
|
.populate('people', 'name title avatarUrl contact')
|
|
142
142
|
.exec(cb);
|
|
143
143
|
};
|
package/lib/Organization.js
CHANGED
|
@@ -1132,7 +1132,7 @@ module.exports = function(mongoose, config) {
|
|
|
1132
1132
|
var self = this;
|
|
1133
1133
|
self
|
|
1134
1134
|
.find({ 'funds': { $in : fundids }, 'deleted': {$ne: true} })
|
|
1135
|
-
.select('name logoUrl funds')
|
|
1135
|
+
.select('name logoUrl funds contact')
|
|
1136
1136
|
.exec(cb);
|
|
1137
1137
|
};
|
|
1138
1138
|
|