aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-11-01 23:16:58 -0300
committerSebastian <sebasjm@gmail.com>2023-11-01 23:17:42 -0300
commite050dfd8a87352944553cb8b0594bc7b92011e71 (patch)
treed8af0b11b7d88f03fd6bbc805f556597d8fd49a6
parentf3d50d00633fca00d718efbd6353f98863528119 (diff)
downloadwallet-core-e050dfd8a87352944553cb8b0594bc7b92011e71.tar.xz
remove /wire on cache invalidation
-rw-r--r--packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx10
1 files changed, 1 insertions, 9 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
index c972f0919..6d1175d0f 100644
--- a/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/DeveloperPage.tsx
@@ -325,20 +325,12 @@ export function View({
const oldKeys = JSON.stringify(
await (await fetch(`${url}keys`)).json(),
);
- const oldWire = JSON.stringify(
- await (await fetch(`${url}wire`)).json(),
- );
const newKeys = JSON.stringify(
await (
await fetch(`${url}keys`, { cache: "no-cache" })
).json(),
);
- const newWire = JSON.stringify(
- await (
- await fetch(`${url}wire`, { cache: "no-cache" })
- ).json(),
- );
- return oldKeys !== newKeys || newWire !== oldWire;
+ return oldKeys !== newKeys;
}),
);
const ex = exchangeList.filter((e, i) => result[i]);