From 651d38cceb83120806dc4bb373d5c3169e72bdf8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 9 Apr 2024 16:13:37 +0200 Subject: wallet-core: fix parsing, clientCancellationId is optional --- packages/taler-util/src/wallet-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index f748c0026..0a39bf69f 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1894,7 +1894,7 @@ export const codecForGetWithdrawalDetailsForAmountRequest = .property("exchangeBaseUrl", codecForString()) .property("amount", codecForAmountString()) .property("restrictAge", codecOptional(codecForNumber())) - .property("clientCancellationId", codecForString()) + .property("clientCancellationId", codecOptional(codecForString())) .build("GetWithdrawalDetailsForAmountRequest"); export interface AcceptExchangeTosRequest { -- cgit v1.2.3