diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-05-20 17:34:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-05-20 17:34:55 +0200 |
commit | e6cd3507114e625f89d8d2383fd7a88b21d22b97 (patch) | |
tree | 87427d6ac87aee532c7f4e7eb6e6695e8820e671 /src/backend/taler-merchant-httpd.c | |
parent | 3d6cce7434847d925b51d1600f0eef79041c6591 (diff) | |
download | merchant-e6cd3507114e625f89d8d2383fd7a88b21d22b97.tar.gz merchant-e6cd3507114e625f89d8d2383fd7a88b21d22b97.tar.bz2 merchant-e6cd3507114e625f89d8d2383fd7a88b21d22b97.zip |
more work on tipping implementation
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 7f063909..b2577bd2 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -40,6 +40,7 @@ #include "taler-merchant-httpd_private-get-orders.h" // #include "taler-merchant-httpd_private-get-orders-ID.h" #include "taler-merchant-httpd_private-get-reserves.h" +#include "taler-merchant-httpd_private-get-tips-ID.h" #include "taler-merchant-httpd_private-get-transfers.h" #include "taler-merchant-httpd_private-patch-instances-ID.h" #include "taler-merchant-httpd_private-patch-products-ID.h" @@ -858,12 +859,11 @@ url_handler (void *cls, .method = MHD_HTTP_METHOD_POST, .handler = &TMH_private_post_reserves_ID_authorize_tip }, - /* POST /reserves/authorize-tip: */ + /* POST /tips: */ { - .url_prefix = "/reserves", - .url_suffix = "authorize-tip", + .url_prefix = "/tips", .method = MHD_HTTP_METHOD_POST, - .handler = &TMH_private_post_reserves_authorize_tip + .handler = &TMH_private_post_tips }, /* GET /reserves: */ { |