@dhyasama/totem-models 1.33.1 → 1.33.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/Organization.js +0 -9
- package/package.json +1 -1
package/lib/Organization.js
CHANGED
|
@@ -1180,15 +1180,6 @@ module.exports = function(mongoose, config) {
|
|
|
1180
1180
|
|
|
1181
1181
|
};
|
|
1182
1182
|
|
|
1183
|
-
Organization.statics.searchByDomain = function(domain, cb) {
|
|
1184
|
-
|
|
1185
|
-
domain = utils.getDomain(domain);
|
|
1186
|
-
|
|
1187
|
-
this
|
|
1188
|
-
.find({ $or: [ { 'websiteAliases': domain }, {'website': domain} ], 'deleted': {$ne: true} })
|
|
1189
|
-
.exec(cb);
|
|
1190
|
-
};
|
|
1191
|
-
|
|
1192
1183
|
Organization.statics.setCustomerFunds = function setCustomerFunds(fundids) {
|
|
1193
1184
|
var self = this;
|
|
1194
1185
|
self.customerFunds = fundids;
|