From 62a7f9b7117cc98e4e1d964a0cd35de2215c39d0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 18 Aug 2022 21:10:37 +0200 Subject: -misc bugfixes for persona kyc logic --- src/templating/templating_api.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/templating/templating_api.c') diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c index 999ba9da..b51c3a5c 100644 --- a/src/templating/templating_api.c +++ b/src/templating/templating_api.c @@ -177,7 +177,7 @@ TALER_TEMPLATING_build (struct MHD_Connection *connection, const char *template, const char *instance_id, const char *taler_uri, - json_t *root, + const json_t *root, struct MHD_Response **reply) { char *body; @@ -209,14 +209,14 @@ TALER_TEMPLATING_build (struct MHD_Connection *connection, instance_id); GNUNET_break (0 == - json_object_set_new (root, + json_object_set_new ((json_t *) root, "static_url", json_string (static_url))); GNUNET_free (static_url); } if (0 != (eno = mustach_jansson (tmpl, - root, + (json_t *) root, &body, &body_size))) { @@ -284,7 +284,7 @@ TALER_TEMPLATING_reply (struct MHD_Connection *connection, const char *template, const char *instance_id, const char *taler_uri, - json_t *root) + const json_t *root) { enum GNUNET_GenericReturnValue res; struct MHD_Response *reply; -- cgit v1.2.3