commit 0edac106656769dc172e1e66eee7a01e54e8baaa
parent 1b5f4c8258c1ae9365e82f66309702f90fe766e2
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 17 Aug 2015 03:40:16 +0200
use correct response code
Diffstat:
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
@@ -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",