commit 3ad285a1c7fed72f78f8726fc6c9b6884d290806
parent fb53ac5a34c0e369c15ac4a43b1729fd1a23289c
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 30 Aug 2019 14:31:38 +0200
different handler for GET tip-pickup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
@@ -277,7 +277,7 @@ url_handler (void *cls,
&MH_handler_tip_pickup, MHD_HTTP_OK},
{ "/public/tip-pickup", MHD_HTTP_METHOD_GET, "text/plain",
NULL, 0,
- &MH_handler_tip_pickup, MHD_HTTP_OK},
+ &MH_handler_tip_pickup_get, MHD_HTTP_OK},
{ "/public/tip-pickup", NULL, "application/json",
"Only POST/GET are allowed", 0,
&TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED},