diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-08-18 21:10:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-08-18 21:10:37 +0200 |
commit | 62a7f9b7117cc98e4e1d964a0cd35de2215c39d0 (patch) | |
tree | 8b3a7f076be94e58fc5c0b496777d191c6ded7dc /src/templating | |
parent | f0cd54dc102cc531805d14d4deb0d2d479ce591c (diff) |
-misc bugfixes for persona kyc logic
Diffstat (limited to 'src/templating')
-rw-r--r-- | src/templating/templating_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/templating/templating_api.c b/src/templating/templating_api.c index 999ba9dae..b51c3a5c3 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; |