gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-typescript-core] branch master updated: wallet-core: missing awai


From: Admin
Subject: [taler-typescript-core] branch master updated: wallet-core: missing await
Date: Thu, 12 Jun 2025 11:04:09 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository taler-typescript-core.

The following commit(s) were added to refs/heads/master by this push:
     new 6de451b45 wallet-core: missing await
6de451b45 is described below

commit 6de451b45f9ce63cb078c2dbd4c6affd9c9fe3a6
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Jun 12 11:04:04 2025 +0200

    wallet-core: missing await
---
 packages/taler-wallet-core/src/host-impl.node.ts  | 2 +-
 packages/taler-wallet-core/src/host-impl.qtart.ts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/packages/taler-wallet-core/src/host-impl.node.ts 
b/packages/taler-wallet-core/src/host-impl.node.ts
index 2b2639895..19bebb879 100644
--- a/packages/taler-wallet-core/src/host-impl.node.ts
+++ b/packages/taler-wallet-core/src/host-impl.node.ts
@@ -138,7 +138,7 @@ async function makeSqliteDb(
     },
     async exportToFile(directory, stem) {
       const path = `${directory}/${stem}.sqlite3`;
-      myBackend.backupToFile(path);
+      await myBackend.backupToFile(path);
       return {
         path,
       };
diff --git a/packages/taler-wallet-core/src/host-impl.qtart.ts 
b/packages/taler-wallet-core/src/host-impl.qtart.ts
index 5cf7af61a..973af2e95 100644
--- a/packages/taler-wallet-core/src/host-impl.qtart.ts
+++ b/packages/taler-wallet-core/src/host-impl.qtart.ts
@@ -124,7 +124,7 @@ async function makeSqliteDb(
     },
     async exportToFile(directory, stem) {
       const path = `${directory}/${stem}.sqlite3`;
-      myBackend.backupToFile(path);
+      await myBackend.backupToFile(path);
       return {
         path,
       };
@@ -193,7 +193,7 @@ export async function createNativeWalletHost2(
     logger.info("using JSON file DB backend (slow, only use for testing)");
     dbResp = await makeFileDb(args);
   } else {
-//    logger.info("using sqlite3 DB backend");
+    //    logger.info("using sqlite3 DB backend");
     dbResp = await makeSqliteDb(args);
   }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]