gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: exchange URLs are strings, not b


From: gnunet
Subject: [taler-merchant] branch master updated: exchange URLs are strings, not binary data
Date: Mon, 11 Sep 2023 22:05:22 +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 ceca64a1 exchange URLs are strings, not binary data
ceca64a1 is described below

commit ceca64a112b48fa4ace96f19cba06fc44357e69c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Sep 11 22:05:08 2023 +0200

    exchange URLs are strings, not binary data
---
 src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c 
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index 7aaf4d65..fd17f029 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -1095,8 +1095,8 @@ batch_deposit_cb (
           TALER_JSON_pack_ec (
             TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_FUNDS),
           TMH_pack_exchange_reply (&dr->hr),
-          GNUNET_JSON_pack_data_auto ("exchange_url",
-                                      &eg->exchange_url)));
+          GNUNET_JSON_pack_string ("exchange_url",
+                                   eg->exchange_url)));
       return;
     }
     resume_pay_with_response (
@@ -1106,8 +1106,8 @@ batch_deposit_cb (
         TALER_JSON_pack_ec (
           TALER_EC_MERCHANT_GENERIC_EXCHANGE_UNEXPECTED_STATUS),
         TMH_pack_exchange_reply (&dr->hr),
-        GNUNET_JSON_pack_data_auto ("exchange_url",
-                                    &eg->exchange_url)));
+        GNUNET_JSON_pack_string ("exchange_url",
+                                 eg->exchange_url)));
     return;
   } /* end switch */
 }

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