summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-09-09 17:02:23 +0200
committerChristian Grothoff <christian@grothoff.org>2020-09-09 17:02:23 +0200
commit7302e0cc35bd3de6e84fa1310be094243372a3bc (patch)
tree67d68a76938bf178a9b4e24da8658d76a14d7eb8
parent374ef1e098a57a801ed1e1735aec573bc425cc6e (diff)
downloadmerchant-7302e0cc35bd3de6e84fa1310be094243372a3bc.tar.gz
merchant-7302e0cc35bd3de6e84fa1310be094243372a3bc.tar.bz2
merchant-7302e0cc35bd3de6e84fa1310be094243372a3bc.zip
add API name
-rw-r--r--src/backend/taler-merchant-httpd_config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_config.c b/src/backend/taler-merchant-httpd_config.c
index 9fa5dc63..9ed433c9 100644
--- a/src/backend/taler-merchant-httpd_config.c
+++ b/src/backend/taler-merchant-httpd_config.c
@@ -64,8 +64,9 @@ MH_handler_config (struct TMH_RequestHandler *rh,
(void) hc;
if (NULL == response)
{
- response = TALER_MHD_make_json_pack ("{s:s, s:s }",
+ response = TALER_MHD_make_json_pack ("{s:s, s:s, s:s}",
"currency", TMH_currency,
+ "name", "taler-merchant",
"version", MERCHANT_PROTOCOL_VERSION);
}
return MHD_queue_response (connection,