@felloh-org/lambda-wrapper 1.4.3 → 1.4.4
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.
|
@@ -154,7 +154,7 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
154
154
|
return date;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
getPublicData() {
|
|
157
|
+
getPublicData(showTemporaryFlag = false) {
|
|
158
158
|
const response = {
|
|
159
159
|
id: this.id,
|
|
160
160
|
amount: this.amount,
|
|
@@ -181,7 +181,7 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
if (this.booking !== null && typeof this.booking.id !== 'undefined') {
|
|
184
|
-
response.booking = this.booking.getPublicData();
|
|
184
|
+
response.booking = this.booking.getPublicData(showTemporaryFlag);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
if (typeof this.transactions !== 'undefined') {
|