[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -use better EC
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -use better EC |
Date: |
Mon, 11 Jul 2022 12:49:28 +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 6741a252 -use better EC
6741a252 is described below
commit 6741a252e5f69cae36a2119fd183b26539863784
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jul 11 12:49:26 2022 +0200
-use better EC
---
src/backend/taler-merchant-httpd_get-orders-ID.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-orders-ID.c
b/src/backend/taler-merchant-httpd_get-orders-ID.c
index 910d53fc..53260f67 100644
--- a/src/backend/taler-merchant-httpd_get-orders-ID.c
+++ b/src/backend/taler-merchant-httpd_get-orders-ID.c
@@ -1195,11 +1195,10 @@ TMH_get_orders_ID (const struct TMH_RequestHandler *rh,
{
/* Authentication provided but wrong. */
GNUNET_break_op (0);
- /* FIXME: use better error code */
return TALER_MHD_reply_with_error (connection,
MHD_HTTP_FORBIDDEN,
-
TALER_EC_MERCHANT_GET_ORDERS_ID_INVALID_TOKEN,
- "authentication with h_contract
provided but wrong");
+
TALER_EC_MERCHANT_GET_ORDERS_ID_INVALID_CONTRACT_HASH,
+ NULL);
}
if (! (token_match ||
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: -use better EC,
gnunet <=