From 26d5adb7e9ea120b356f40b444f410973c8a83d4 Mon Sep 17 00:00:00 2001 From: Jonathan Buchanan Date: Wed, 10 Jun 2020 01:44:32 -0400 Subject: implementation of GET /private/tips --- src/backend/taler-merchant-httpd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/backend/taler-merchant-httpd.c') diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 9a71440a..a73feabc 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -43,6 +43,7 @@ #include "taler-merchant-httpd_private-get-reserves.h" #include "taler-merchant-httpd_private-get-reserves-ID.h" #include "taler-merchant-httpd_private-get-tips-ID.h" +#include "taler-merchant-httpd_private-get-tips.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" @@ -867,6 +868,12 @@ url_handler (void *cls, .method = MHD_HTTP_METHOD_POST, .handler = &TMH_private_post_tips }, + /* GET /tips: */ + { + .url_prefix = "/tips", + .method = MHD_HTTP_METHOD_GET, + .handler = &TMH_private_get_tips + }, /* GET /reserves: */ { .url_prefix = "/reserves", -- cgit v1.2.3