use correct response code

This commit is contained in:
Christian Grothoff 2015-08-17 03:40:16 +02:00
parent 1b5f4c8258
commit 0edac10665

View File

@ -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",