diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 57146c0f5..cb7b9295f 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -120,6 +120,10 @@ async function dispatch( r = wrapResponse(await getDiagnostics()); break; } + case "reset-db": { + r = wrapResponse(await reinitWallet()); + break; + } case "wxGetExtendedPermissions": { const res = await new Promise((resolve, reject) => { getPermissionsApi().contains(extendedPermissions, (result: boolean) => {