@dhyasama/totem-models 9.9.0 → 9.9.1
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 +2 -0
- package/package.json +1 -1
package/lib/CapTable.js
CHANGED
|
@@ -218,6 +218,8 @@ module.exports = function(mongoose, config) {
|
|
|
218
218
|
if (!mongoose.Types.ObjectId.isValid(lpid)) { return cb(new Error('lpid is not a valid ObjectId'), null); }
|
|
219
219
|
if (!options) { return cb(new Error('options is required'), null); }
|
|
220
220
|
|
|
221
|
+
var query;
|
|
222
|
+
|
|
221
223
|
if (options.isWorkerProcess) {
|
|
222
224
|
query = self.find({
|
|
223
225
|
'stakeholders.lp': lpid
|