diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-15 00:24:39 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-15 00:24:39 -0300 |
commit | 984cbb7ab79b50eab38bb6a05ab56ccc278ac835 (patch) | |
tree | f1d06a6d337e3241707acce14cc6f691de37bb16 /packages/taler-util/src | |
parent | a5f357f07857d4740931e57eb65b750ab9e66b02 (diff) | |
download | wallet-core-984cbb7ab79b50eab38bb6a05ab56ccc278ac835.tar.xz |
save tos etag after forced refresh
Diffstat (limited to 'packages/taler-util/src')
-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 { |