fix typo
This commit is contained in:
parent
c1df2e6283
commit
6173324cd9
@ -1948,7 +1948,6 @@ run (void *cls,
|
||||
.details.refresh_melt.melted_coins = melt_coins_1,
|
||||
.details.refresh_melt.fresh_amounts = melt_fresh_amounts_1 },
|
||||
|
||||
#if TEST_REFRESH
|
||||
|
||||
/* Complete (successful) melt operation, and withdraw the coins */
|
||||
{ .oc = OC_REFRESH_REVEAL,
|
||||
@ -1956,6 +1955,7 @@ run (void *cls,
|
||||
.expected_response_code = MHD_HTTP_OK,
|
||||
.details.refresh_reveal.melt_ref = "refresh-melt-1" },
|
||||
|
||||
#if TEST_REFRESH
|
||||
|
||||
/* Test that /refresh/link works */
|
||||
{ .oc = OC_REFRESH_LINK,
|
||||
|
@ -222,7 +222,7 @@ handle_mhd_request (void *cls,
|
||||
|
||||
{ "/refresh/reveal", MHD_HTTP_METHOD_POST, "application/json",
|
||||
NULL, 0,
|
||||
&TMH_REFRESH_handler_refresh_melt, MHD_HTTP_OK },
|
||||
&TMH_REFRESH_handler_refresh_reveal, MHD_HTTP_OK },
|
||||
{ "/refresh/reveal", NULL, "text/plain",
|
||||
"Only POST is allowed", 0,
|
||||
&TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED },
|
||||
|
Loading…
Reference in New Issue
Block a user