wallet: confirm_transfer_url is optional

This commit is contained in:
Florian Dold 2023-10-16 10:07:52 +02:00
parent 53998741a6
commit 6a4e0ffd85
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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");