diff options
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/walletTypes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts index 444fac154..1c2037977 100644 --- a/packages/taler-util/src/walletTypes.ts +++ b/packages/taler-util/src/walletTypes.ts @@ -731,14 +731,14 @@ export const codecForGetWithdrawalDetailsForAmountRequest = export interface AcceptExchangeTosRequest { exchangeBaseUrl: string; - etag: string; + etag: string | undefined; } export const codecForAcceptExchangeTosRequest = (): Codec<AcceptExchangeTosRequest> => buildCodecForObject<AcceptExchangeTosRequest>() .property("exchangeBaseUrl", codecForString()) - .property("etag", codecForString()) + .property("etag", codecOptional(codecForString())) .build("AcceptExchangeTosRequest"); export interface ApplyRefundRequest { |