aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-01-17 00:19:36 +0100
committerFlorian Dold <florian@dold.me>2023-01-17 00:20:37 +0100
commit41c87b03e6e4f1d1c225433905cd3fb066ab4a3e (patch)
tree052b76886b01b9ea496d2fd0758d799eb7ef16bc
parente8ca838f2990388fdfdc75552f55e4cc8361caaf (diff)
embedded: payload->args
The new qjs embedded wallet bundle broke compatibility with the old one by calling the wallet-core API request arguments "payload" instead of "args". This commit goes back to the old name.
-rw-r--r--packages/taler-wallet-embedded/src/wallet-qjs.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-embedded/src/wallet-qjs.ts b/packages/taler-wallet-embedded/src/wallet-qjs.ts
index 6b5f7707c..e6e1a34a5 100644
--- a/packages/taler-wallet-embedded/src/wallet-qjs.ts
+++ b/packages/taler-wallet-embedded/src/wallet-qjs.ts
@@ -383,7 +383,7 @@ export function installNativeWalletListener(): void {
logger.info(`native listener: got request for ${operation} (${id})`);
try {
- const respMsg = await handler.handleMessage(operation, id, msg.payload ?? {});
+ const respMsg = await handler.handleMessage(operation, id, msg.args ?? {});
logger.info(
`native listener: sending success response for ${operation} (${id})`,
);