diff options
Diffstat (limited to 'src/lib/merchant_api_get_template.c')
-rw-r--r-- | src/lib/merchant_api_get_template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/merchant_api_get_template.c b/src/lib/merchant_api_get_template.c index 920333b6..3edb98a1 100644 --- a/src/lib/merchant_api_get_template.c +++ b/src/lib/merchant_api_get_template.c @@ -93,15 +93,15 @@ handle_get_template_finished (void *cls, case MHD_HTTP_OK: { const char *template_description; - const char *image; + const char *pos_key; json_t *template_contract; bool rst_ok = true; struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_string ("template_description", &template_description), GNUNET_JSON_spec_mark_optional ( - GNUNET_JSON_spec_string ("image", - &image), + GNUNET_JSON_spec_string ("pos_key", + &pos_key), NULL), GNUNET_JSON_spec_json ("template_contract", &template_contract), @@ -118,7 +118,7 @@ handle_get_template_finished (void *cls, tgh->cb (tgh->cb_cls, &hr, template_description, - image, + pos_key, template_contract); GNUNET_JSON_parse_free (spec); TALER_MERCHANT_template_get_cancel (tgh); |