aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-30 00:18:42 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-30 00:18:42 +0530
commit78718d35343adfe36a4511a06662b626f4bf4957 (patch)
tree814322dead095088f16d28ecc82142a6f6de14e3
parent899a73ca78a9a66b89248092bd2d804c668b47ee (diff)
too much nestingv0.7.1-dev.14
-rw-r--r--src/android/index.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/android/index.ts b/src/android/index.ts
index 82d8309b8..9e58fc8a6 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -258,17 +258,10 @@ export function installAndroidWalletListener(): void {
console.log(`android listener: got request for ${operation} (${id})`);
try {
- const result = await handler.handleMessage(operation, id, msg.args);
+ const respMsg = await handler.handleMessage(operation, id, msg.args);
console.log(
`android listener: sending success response for ${operation} (${id})`,
);
- const respMsg = {
- type: "response",
- id,
- operation,
- isError: false,
- result,
- };
sendMessage(JSON.stringify(respMsg));
} catch (e) {
const respMsg = {