@dhyasama/totem-models 9.4.1 → 9.4.2
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/CapTable.js +1 -1
- package/package.json +1 -1
package/lib/CapTable.js
CHANGED
|
@@ -359,7 +359,7 @@ module.exports = function(mongoose, config) {
|
|
|
359
359
|
// Sum each stakeholders shares
|
|
360
360
|
_.each(self.stakeholders, function(stakeholder) {
|
|
361
361
|
|
|
362
|
-
var shares = _.reduce(stakeholder.rounds, function(
|
|
362
|
+
var shares = _.reduce(stakeholder.rounds, function(memo, i) {
|
|
363
363
|
return memo + i.shares;
|
|
364
364
|
}, 0);
|
|
365
365
|
|