summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-04-09 16:13:37 +0200
committerFlorian Dold <florian@dold.me>2024-04-09 16:13:43 +0200
commit651d38cceb83120806dc4bb373d5c3169e72bdf8 (patch)
tree355499594c11b95c4b1286048c2bc2537fc2e55f
parent7b5afb41336fe4557fe8872236122dea398d2cf8 (diff)
downloadwallet-core-651d38cceb83120806dc4bb373d5c3169e72bdf8.tar.gz
wallet-core-651d38cceb83120806dc4bb373d5c3169e72bdf8.tar.bz2
wallet-core-651d38cceb83120806dc4bb373d5c3169e72bdf8.zip
wallet-core: fix parsing, clientCancellationId is optional
-rw-r--r--packages/taler-util/src/wallet-types.ts2
1 files changed, 1 insertions, 1 deletions
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 {