gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: session_id argument is now manda


From: gnunet
Subject: [taler-merchant] branch master updated: session_id argument is now mandatory, parse it as such
Date: Tue, 21 Jul 2020 09:44:37 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new ea02bfc  session_id argument is now mandatory, parse it as such
ea02bfc is described below

commit ea02bfcacbaa9152fa48aa8f381afbae732c67f4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jul 21 09:44:35 2020 +0200

    session_id argument is now mandatory, parse it as such
---
 src/backend/taler-merchant-httpd_post-orders-ID-paid.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
index 74328f5..6e6f64a 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
@@ -55,6 +55,8 @@ TMH_post_orders_ID_paid (const struct TMH_RequestHandler *rh,
                                    &pr.h_contract_terms),
       GNUNET_JSON_spec_fixed_auto ("merchant_sig",
                                    &merchant_sig),
+      GNUNET_JSON_spec_string ("session_id",
+                               &session_id),
       GNUNET_JSON_spec_end ()
     };
     enum GNUNET_GenericReturnValue res;
@@ -70,9 +72,6 @@ TMH_post_orders_ID_paid (const struct TMH_RequestHandler *rh,
              : MHD_NO;
     }
   }
-  session_id = json_string_value (
-    json_object_get (hc->request_body,
-                     "session_id"));
 
 #if FIXME
   if (GNUNET_OK !=

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