diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2023-07-13 22:28:34 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2023-07-13 22:28:34 +0200 |
commit | 65c861027a186e182b8ab7bfdc33df49a462c9a8 (patch) | |
tree | 0c6ff6736ad19a2e64c3e19ff08fe8966d97b3f2 /src/exchange/taler-exchange-httpd_responses.c | |
parent | c8250cae25573a74e5fd536ebc007d639fd85957 (diff) | |
download | exchange-65c861027a186e182b8ab7bfdc33df49a462c9a8.tar.gz exchange-65c861027a186e182b8ab7bfdc33df49a462c9a8.tar.bz2 exchange-65c861027a186e182b8ab7bfdc33df49a462c9a8.zip |
-towards reveal response handling in agew-withdraw-reveal
Diffstat (limited to 'src/exchange/taler-exchange-httpd_responses.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_responses.c | 3 |
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 d1636a0af..863166e00 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)); |