@dhyasama/totem-models 1.14.0 → 1.15.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.
@@ -693,6 +693,15 @@ module.exports = function(mongoose, config) {
693
693
 
694
694
  };
695
695
 
696
+ Organization.statics.getAcquistions = function getAcquistions(orgid, cb) {
697
+ var self = this;
698
+ self
699
+ .find({
700
+ 'operating.acquired.private.by': orgid, 'deleted': {$ne: true} })
701
+ .select('name logoUrl')
702
+ .exec(cb);
703
+ };
704
+
696
705
  Organization.statics.getBoardsOfPerson = function getBoardsOfPerson(personId, cb) {
697
706
 
698
707
  var self = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",