@dhyasama/totem-models 1.15.0 → 1.16.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.
@@ -694,6 +694,7 @@ module.exports = function(mongoose, config) {
694
694
  };
695
695
 
696
696
  Organization.statics.getAcquistions = function getAcquistions(orgid, cb) {
697
+ // todo - logic to check public and private
697
698
  var self = this;
698
699
  self
699
700
  .find({
package/lib/Round.js CHANGED
@@ -408,6 +408,7 @@ module.exports = function(mongoose, config) {
408
408
  .populate('organization', 'name logoUrl')
409
409
  .populate('people.person', 'name avatarUrl title')
410
410
  .populate('vehicles.fund', 'name shortName')
411
+ .populate('vehicles.investments')
411
412
  .populate({
412
413
  path: 'vehicles.investments',
413
414
  match: { customer: config.CUSTOMER_ID }
@@ -452,6 +453,7 @@ module.exports = function(mongoose, config) {
452
453
  .populate('organization', 'name logoUrl')
453
454
  .populate('people.person', 'name avatarUrl')
454
455
  .populate('vehicles.fund')
456
+ .populate('vehicles.investments')
455
457
  .exec(function(err, rounds) {
456
458
 
457
459
  if (err) return cb(err, null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",