summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-templates-ID.c
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-11-21 11:31:44 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-11-22 08:14:50 -0500
commitae6d2de1610ceb06e58b945a04a3d184b95d3e44 (patch)
tree8e2a7640b7b2e4e9de5f6f706a93bc7f94e0d54c /src/backend/taler-merchant-httpd_private-get-templates-ID.c
parent01939fd2f0bf4f6ef3fa1c44b6ff39a981613259 (diff)
downloadmerchant-ae6d2de1610ceb06e58b945a04a3d184b95d3e44.tar.gz
merchant-ae6d2de1610ceb06e58b945a04a3d184b95d3e44.tar.bz2
merchant-ae6d2de1610ceb06e58b945a04a3d184b95d3e44.zip
update
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-templates-ID.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-templates-ID.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-templates-ID.c b/src/backend/taler-merchant-httpd_private-get-templates-ID.c
index 80fccd40..c9f64ae5 100644
--- a/src/backend/taler-merchant-httpd_private-get-templates-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-templates-ID.c
@@ -71,9 +71,10 @@ TMH_private_get_templates_ID (const struct TMH_RequestHandler *rh,
GNUNET_JSON_pack_string ("image",
tp.image),
GNUNET_JSON_pack_object_steal ("template_contract",
- tp.template_contract),
+ tp.template_contract));
GNUNET_free (tp.template_description);
GNUNET_free (tp.image);
+
return ret;
}
}