aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util/src/http-client/types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-10-16 10:07:52 +0200
committerFlorian Dold <florian@dold.me>2023-10-16 10:07:52 +0200
commit6a4e0ffd858a6eeb29f19de949db87a115b34097 (patch)
tree43fcbe7ec141cb46b3421156bc289faec877125c /packages/taler-util/src/http-client/types.ts
parent53998741a6f280c5c56573c2db6ffd35ce5c34d9 (diff)
downloadwallet-core-6a4e0ffd858a6eeb29f19de949db87a115b34097.tar.xz
wallet: confirm_transfer_url is optional
Diffstat (limited to 'packages/taler-util/src/http-client/types.ts')
-rw-r--r--packages/taler-util/src/http-client/types.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts
index 5f899dd5a..66ac39f59 100644
--- a/packages/taler-util/src/http-client/types.ts
+++ b/packages/taler-util/src/http-client/types.ts
@@ -402,7 +402,7 @@ export const codecForBankWithdrawalOperationStatus =
export const codecForBankWithdrawalOperationPostResponse =
(): Codec<TalerBankIntegrationApi.BankWithdrawalOperationPostResponse> =>
buildCodecForObject<TalerBankIntegrationApi.BankWithdrawalOperationPostResponse>()
- .property("confirm_transfer_url", codecForURL())
+ .property("confirm_transfer_url", codecOptional(codecForURL()))
.property("transfer_done", codecForBoolean())
.build("TalerBankIntegrationApi.BankWithdrawalOperationPostResponse");