diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 23:49:37 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 23:49:37 +0100 |
commit | db669ee495a29384c6d592cb1080db58e832a649 (patch) | |
tree | 0bbc1a119098467eb731cd53c59d9df4dba079d7 /src/exchange/taler-exchange-httpd.c | |
parent | 6e17a847e8267ae10beaa8fc849bf10517088ab2 (diff) | |
download | exchange-db669ee495a29384c6d592cb1080db58e832a649.tar.gz exchange-db669ee495a29384c6d592cb1080db58e832a649.tar.bz2 exchange-db669ee495a29384c6d592cb1080db58e832a649.zip |
payback -> recoup stranglers
Diffstat (limited to 'src/exchange/taler-exchange-httpd.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index eb1bb79e..a00a792c 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -32,7 +32,7 @@ #include "taler-exchange-httpd_refund.h" #include "taler-exchange-httpd_reserve_status.h" #include "taler-exchange-httpd_reserve_withdraw.h" -#include "taler-exchange-httpd_payback.h" +#include "taler-exchange-httpd_recoup.h" #include "taler-exchange-httpd_refresh_link.h" #include "taler-exchange-httpd_refresh_melt.h" #include "taler-exchange-httpd_refresh_reveal.h" @@ -341,9 +341,9 @@ handle_mhd_request (void *cls, "Only POST is allowed", 0, &TEH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED }, - { "/payback", MHD_HTTP_METHOD_POST, "application/json", + { "/recoup", MHD_HTTP_METHOD_POST, "application/json", NULL, 0, - &TEH_PAYBACK_handler_payback, MHD_HTTP_OK }, + &TEH_RECOUP_handler_recoup, MHD_HTTP_OK }, { "/refresh/link", NULL, "text/plain", "Only GET is allowed", 0, &TEH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED }, |