diff options
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/http-client/types.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/http-client/types.ts b/packages/taler-util/src/http-client/types.ts index 3e6d857cb..a5659954d 100644 --- a/packages/taler-util/src/http-client/types.ts +++ b/packages/taler-util/src/http-client/types.ts @@ -1139,7 +1139,7 @@ export const codecForWithdrawalPublicInfo = codecForConstString("confirmed"), ), ) - .property("amount", codecForAmountString()) + .property("amount", codecOptional(codecForAmountString())) .property("username", codecForString()) .property("selected_reserve_pub", codecOptional(codecForString())) .property( @@ -2234,7 +2234,7 @@ export namespace TalerCorebankApi { // Amount that will be withdrawn with this operation // (raw amount without fee considerations). - amount: AmountString; + amount?: AmountString; // Account username username: string; |