commit 0e5e8e3afcea125d1cc4c9c54866823d35710fbe
parent cb03154e8b9b7c7e99bd64a4853d3be6e3d309d4
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 5 Feb 2024 11:51:28 +0100
return 'implementation' field in /config responses
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/sync/sync-httpd_config.c b/src/sync/sync-httpd_config.c
@@ -54,6 +54,8 @@ SH_handler_config (struct SH_RequestHandler *rh,
MHD_HTTP_OK,
GNUNET_JSON_pack_string ("name",
"sync"),
+ GNUNET_JSON_pack_string ("implementation",
+ "urn:net:taler:specs:sync:c-reference"),
GNUNET_JSON_pack_uint64 ("storage_limit_in_megabytes",
SH_upload_limit_mb),
TALER_JSON_pack_amount ("liability_limit",
@@ -61,7 +63,7 @@ SH_handler_config (struct SH_RequestHandler *rh,
TALER_JSON_pack_amount ("annual_fee",
&SH_annual_fee),
GNUNET_JSON_pack_string ("version",
- "2:0:0"));
+ "2:1:0"));
}