aboutsummaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-07-14 10:02:01 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-07-14 10:02:01 +0200
commit63efa1f1358f8daa91cd261deb0702a48e74c9a2 (patch)
treea4d6ec71392eb7fad87f6f4946804af0ff9518cd /src/exchange
parent34f44ccb279c655b5b948a42d576bac371d684a7 (diff)
parent65c861027a186e182b8ab7bfdc33df49a462c9a8 (diff)
Merge branch 'age-withdraw' of ssh://git.kesim.org/taler/exchange into age-withdraw
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index d1636a0a..863166e0 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -23,6 +23,7 @@
* @author Christian Grothoff
*/
#include "platform.h"
+#include <microhttpd.h>
#include <zlib.h>
#include "taler-exchange-httpd_responses.h"
#include "taler_util.h"
@@ -1091,7 +1092,7 @@ TEH_RESPONSE_reply_reserve_age_restriction_required (
{
return TALER_MHD_REPLY_JSON_PACK (
connection,
- MHD_HTTP_BAD_REQUEST,
+ MHD_HTTP_CONFLICT,
TALER_JSON_pack_ec (TALER_EC_EXCHANGE_RESERVES_AGE_RESTRICTION_REQUIRED),
GNUNET_JSON_pack_uint64 ("maximum_allowed_age",
maximum_allowed_age));