gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: wrap refund permiss


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: wrap refund permission in object
Date: Sat, 26 Aug 2017 01:51:19 +0200

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new f0e6665  wrap refund permission in object
f0e6665 is described below

commit f0e666563588c4858417b776105d8fc3e17f8840
Author: Florian Dold <address@hidden>
AuthorDate: Sat Aug 26 01:50:34 2017 +0200

    wrap refund permission in object
---
 src/backend/taler-merchant-httpd_refund.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_refund.c 
b/src/backend/taler-merchant-httpd_refund.c
index 509235e..d45890a 100644
--- a/src/backend/taler-merchant-httpd_refund.c
+++ b/src/backend/taler-merchant-httpd_refund.c
@@ -489,9 +489,11 @@ MH_handler_refund_lookup (struct TMH_RequestHandler *rh,
                                               prd.ec,
                                               "Could not generate a 
response"); 
   }
-   return TMH_RESPONSE_reply_json (connection,
-                                  prd.response,
-                                  MHD_HTTP_OK);
+
+  return TMH_RESPONSE_reply_json_pack (connection, 
+                                       MHD_HTTP_OK,
+                                       "{s:o}",
+                                       "refund_permissions", prd.response);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]