From 0edac106656769dc172e1e66eee7a01e54e8baaa Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 17 Aug 2015 03:40:16 +0200 Subject: [PATCH] use correct response code --- src/mint/taler-mint-httpd_responses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c index 8a5573e87..7a56efb9f 100644 --- a/src/mint/taler-mint-httpd_responses.c +++ b/src/mint/taler-mint-httpd_responses.c @@ -711,7 +711,7 @@ TMH_RESPONSE_reply_refresh_melt_insufficient_funds (struct MHD_Connection *conne history = compile_transaction_history (tl); return TMH_RESPONSE_reply_json_pack (connection, - MHD_HTTP_NOT_FOUND, + MHD_HTTP_FORBIDDEN, "{s:s, s:o, s:o, s:o, s:o, s:o}", "error", "insufficient funds",