diff options
author | Sebastian <sebasjm@gmail.com> | 2021-07-07 13:28:02 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-07-07 13:28:10 -0300 |
commit | ebfc79756f14b08ac3735b2746ac48fd3483b5e4 (patch) | |
tree | 2937c7377b9620088d660aebcb4e2974fb646880 /packages/taler-wallet-core/src/wallet.ts | |
parent | ff09c98f3b0515dd92dc5f9bab887336b080b4f5 (diff) | |
download | wallet-core-ebfc79756f14b08ac3735b2746ac48fd3483b5e4.tar.xz |
add providers filter to runBackupCycle
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index ca9afc073..d46914b37 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -41,6 +41,7 @@ import { import { addBackupProvider, codecForAddBackupProviderRequest, + codecForRunBackupCycle, getBackupInfo, getBackupRecovery, loadBackupRecovery, @@ -809,7 +810,8 @@ async function dispatchRequestInternal( return {}; } case "runBackupCycle": { - await runBackupCycle(ws); + const req = codecForRunBackupCycle().decode(payload); + await runBackupCycle(ws, req); return {}; } case "exportBackupRecovery": { |