summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_get_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_get_template.c')
-rw-r--r--src/lib/merchant_api_get_template.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/merchant_api_get_template.c b/src/lib/merchant_api_get_template.c
index 01e4a91e..4ad2d8d0 100644
--- a/src/lib/merchant_api_get_template.c
+++ b/src/lib/merchant_api_get_template.c
@@ -16,7 +16,7 @@
*/
/**
* @file merchant_api_get_template.c
- * @brief Implementation of the GET /template/$ID request of the merchant's HTTP API
+ * @brief Implementation of the GET /templates/$ID request of the merchant's HTTP API
* @author Christian Grothoff
*/
#include "platform.h"
@@ -32,7 +32,7 @@
/**
- * Handle for a GET /template/$ID operation.
+ * Handle for a GET /templates/$ID operation.
*/
struct TALER_MERCHANT_TemplateGetHandle
{
@@ -66,7 +66,7 @@ struct TALER_MERCHANT_TemplateGetHandle
/**
* Function called when we're done processing the
- * HTTP GET /template/$ID request.
+ * HTTP GET /templates/$ID request.
*
* @param cls the `struct TALER_MERCHANT_TemplateGetHandle`
* @param response_code HTTP response code, 0 on error
@@ -86,7 +86,7 @@ handle_get_template_finished (void *cls,
tgh->job = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Got /template/$ID response with status code %u\n",
+ "Got /templates/$ID response with status code %u\n",
(unsigned int) response_code);
switch (response_code)
{
@@ -174,7 +174,7 @@ TALER_MERCHANT_template_get (
char *path;
GNUNET_asprintf (&path,
- "private/template/%s",
+ "private/templates/%s",
template_id);
tgh->url = TALER_url_join (backend_url,
path,