@felloh-org/lambda-wrapper 1.7.1 → 1.8.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.
@@ -205,6 +205,10 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
205
205
  };
206
206
  }
207
207
 
208
+ if (this.payment_provider !== null && typeof this.payment_provider.id !== 'undefined') {
209
+ response.payment_provider = this.payment_provider;
210
+ }
211
+
208
212
  return response;
209
213
  }
210
214
 
@@ -248,6 +252,10 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
248
252
  response.organisation = this.organisation.getPublicCompactData();
249
253
  }
250
254
 
255
+ if (this.payment_provider !== null && typeof this.payment_provider.id !== 'undefined') {
256
+ response.payment_provider = this.payment_provider;
257
+ }
258
+
251
259
  return response;
252
260
  }
253
261
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.7.1",
3
+ "version": "1.8.0",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {