use correct response code
This commit is contained in:
parent
1b5f4c8258
commit
0edac10665
@ -711,7 +711,7 @@ TMH_RESPONSE_reply_refresh_melt_insufficient_funds (struct MHD_Connection *conne
|
|||||||
|
|
||||||
history = compile_transaction_history (tl);
|
history = compile_transaction_history (tl);
|
||||||
return TMH_RESPONSE_reply_json_pack (connection,
|
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}",
|
"{s:s, s:o, s:o, s:o, s:o, s:o}",
|
||||||
"error",
|
"error",
|
||||||
"insufficient funds",
|
"insufficient funds",
|
||||||
|
Loading…
Reference in New Issue
Block a user