diff options
author | Florian Dold <florian@dold.me> | 2023-01-17 00:19:36 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-01-17 00:20:37 +0100 |
commit | 41c87b03e6e4f1d1c225433905cd3fb066ab4a3e (patch) | |
tree | 052b76886b01b9ea496d2fd0758d799eb7ef16bc | |
parent | e8ca838f2990388fdfdc75552f55e4cc8361caaf (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.ts | 2 |
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})`, ); |