gnunet-svn
[Top][All Lists]
Advanced

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

[taler-wallet-core] branch master updated: too much nesting


From: gnunet
Subject: [taler-wallet-core] branch master updated: too much nesting
Date: Wed, 29 Jul 2020 20:48:49 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 78718d35 too much nesting
78718d35 is described below

commit 78718d35343adfe36a4511a06662b626f4bf4957
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Jul 30 00:18:42 2020 +0530

    too much nesting
---
 src/android/index.ts | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/android/index.ts b/src/android/index.ts
index 82d8309b..9e58fc8a 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 = {

-- 
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]