@dhyasama/totem-models 10.23.0 → 10.24.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.
Files changed (2) hide show
  1. package/lib/Deal.js +1 -2
  2. package/package.json +1 -1
package/lib/Deal.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
- const _ = require("underscore/underscore-node");
4
3
  module.exports = function(mongoose, config) {
5
4
 
6
5
  let
@@ -162,7 +161,7 @@ module.exports = function(mongoose, config) {
162
161
 
163
162
  query.populate({ path: 'documents', match: { customer: options.CUSTOMER_ID } });
164
163
  query.populate({ path: 'messages', match: { customer: options.CUSTOMER_ID } });
165
- query.populate('organization', 'name aliases description logoUrl website websiteAliases chairs contact people');
164
+ query.populate('organization', 'name aliases description logoUrl website websiteAliases chairs contact social crunchbase foundedOn operating shutdown');
166
165
  query.populate('referrer.person', 'name avatarUrl title');
167
166
  query.exec(cb);
168
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "10.23.0",
3
+ "version": "10.24.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",