commit 664b0f9b7083200f1781c5ddce148894835dedd1
parent c6f1a4b1d884171a109561a6dbd425a7fe537f79
Author: Florian Dold <florian@dold.me>
Date: Tue, 5 Nov 2024 12:02:16 +0100
-typo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts
@@ -97,7 +97,7 @@ class NativeWalletMessageHandler {
//
// Specifying a directory allows us to automatically
// migrate to a new DB file in the future.
- const p = args.args.persistentStoragePath;
+ const p = args.persistentStoragePath;
let persistentStoragePath: string | undefined;
if (p != null) {
if (typeof p !== "string") {
@@ -114,7 +114,7 @@ class NativeWalletMessageHandler {
notifyHandler: async (notification: WalletNotification) => {
sendNativeMessage({ type: "notification", payload: notification });
},
- persistentStoragePath: args.persistentStoragePath,
+ persistentStoragePath,
httpLib: this.httpLib,
cryptoWorkerType: args.cryptoWorkerType,
...args,