gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated (63797184 -> 81b54516)


From: gnunet
Subject: [taler-exchange] branch master updated (63797184 -> 81b54516)
Date: Sat, 17 Feb 2024 19:12:47 +0100

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

grothoff pushed a change to branch master
in repository exchange.

    from 63797184 remove gnurl tests
     new c223e4f6 dead template
     new 81b54516 remove unnecessary fields

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 contrib/Makefile.am.in                  |  1 -
 contrib/kyc-proof-logic-failure.en.must | 15 ---------------
 src/kyclogic/plugin_kyclogic_oauth2.c   |  4 ----
 src/kyclogic/plugin_kyclogic_persona.c  |  6 ++----
 4 files changed, 2 insertions(+), 24 deletions(-)
 delete mode 100644 contrib/kyc-proof-logic-failure.en.must

diff --git a/contrib/Makefile.am.in b/contrib/Makefile.am.in
index 268e423b..e278fad2 100644
--- a/contrib/Makefile.am.in
+++ b/contrib/Makefile.am.in
@@ -9,7 +9,6 @@ dist_tmplpkgdata_DATA = \
   kyc-proof-bad-request.en.must \
   kyc-proof-endpoint-unknown.en.must \
   kyc-proof-internal-error.en.must \
-  kyc-proof-logic-failure.en.must \
   kyc-proof-target-unknown.en.must \
   oauth2-authentication-failure.en.must \
   oauth2-authorization-failure.en.must \
diff --git a/contrib/kyc-proof-logic-failure.en.must 
b/contrib/kyc-proof-logic-failure.en.must
deleted file mode 100644
index f7f05850..00000000
--- a/contrib/kyc-proof-logic-failure.en.must
+++ /dev/null
@@ -1,15 +0,0 @@
-<html>
-<head>
-<title>500: Internal logic failure</title>
-</head>
-<body>
-  We had an internal error processing the KYC request.
-<pre>
-<!-- Taler Error code --> {{ code }}:
-<!-- Taler EC hint --> {{ hint }}
-</pre>
-<p>
-  <!-- human-readable message --> {{ message}}
-</p>
-</body>
-</html>
diff --git a/src/kyclogic/plugin_kyclogic_oauth2.c 
b/src/kyclogic/plugin_kyclogic_oauth2.c
index 6ffa55d5..4225f45c 100644
--- a/src/kyclogic/plugin_kyclogic_oauth2.c
+++ b/src/kyclogic/plugin_kyclogic_oauth2.c
@@ -1153,8 +1153,6 @@ handle_curl_proof_finished (void *cls,
       body = GNUNET_JSON_PACK (
         GNUNET_JSON_pack_string ("message",
                                  "No response from KYC gateway"),
-        GNUNET_JSON_pack_bool ("debug",
-                               ph->pd->debug_mode),
         TALER_JSON_pack_ec (
           TALER_EC_EXCHANGE_KYC_PROOF_BACKEND_INVALID_RESPONSE));
       GNUNET_break (
@@ -1440,8 +1438,6 @@ oauth2_proof (void *cls,
       ph->status = TALER_KYCLOGIC_STATUS_USER_PENDING;
       ph->http_status = MHD_HTTP_BAD_REQUEST;
       body = GNUNET_JSON_PACK (
-        GNUNET_JSON_pack_bool ("debug",
-                               ph->pd->debug_mode),
         GNUNET_JSON_pack_string ("message",
                                  "'code' parameter malformed"),
         TALER_JSON_pack_ec (
diff --git a/src/kyclogic/plugin_kyclogic_persona.c 
b/src/kyclogic/plugin_kyclogic_persona.c
index 2183c612..c68b7f88 100644
--- a/src/kyclogic/plugin_kyclogic_persona.c
+++ b/src/kyclogic/plugin_kyclogic_persona.c
@@ -1309,7 +1309,7 @@ handle_proof_finished (void *cls,
     proof_reply_error (
       ph,
       ph->inquiry_id,
-      MHD_HTTP_INTERNAL_SERVER_ERROR,
+      MHD_HTTP_BAD_GATEWAY,
       "persona-exchange-unauthorized",
       GNUNET_JSON_PACK (
         GNUNET_JSON_pack_uint64 ("persona_http_status",
@@ -1329,7 +1329,7 @@ handle_proof_finished (void *cls,
     proof_reply_error (
       ph,
       ph->inquiry_id,
-      MHD_HTTP_INTERNAL_SERVER_ERROR,
+      MHD_HTTP_SERVICE_UNAVAILABLE,
       "persona-exchange-unpaid",
       GNUNET_JSON_PACK (
         GNUNET_JSON_pack_uint64 ("persona_http_status",
@@ -1428,8 +1428,6 @@ handle_proof_finished (void *cls,
                                  response_code),
         TALER_JSON_pack_ec (
           TALER_EC_EXCHANGE_KYC_GENERIC_PROVIDER_UNEXPECTED_REPLY),
-        GNUNET_JSON_pack_string ("detail",
-                                 "data-relationships-account-data-id"),
         GNUNET_JSON_pack_allow_null (
           GNUNET_JSON_pack_object_incref ("data",
                                           (json_t *)

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