@felloh-org/lambda-wrapper 1.1.75 → 1.1.76

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.
@@ -89,9 +89,14 @@ let Organisation = (_dec = (0, _typeorm.Entity)({
89
89
  created_at: this.created_at,
90
90
  updated_at: this.updated_at,
91
91
  deleted_at: this.deleted_at,
92
- features: []
92
+ features: [],
93
+ parent: null
93
94
  };
94
95
 
96
+ if (this.parent !== null && typeof this.parent.getPublicCompactData === 'function') {
97
+ response.parent = this.parent.getPublicCompactData();
98
+ }
99
+
95
100
  if (this.organisation_feature !== null && this.organisation_feature.length >= 1) {
96
101
  response.features = this.organisation_feature.map(orgFeature => ({
97
102
  id: orgFeature.feature.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.1.75",
3
+ "version": "1.1.76",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {