summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-post-templates.c
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-11-22 08:07:11 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-11-22 08:14:50 -0500
commitc00762ce8297fbb4ea9590a0fb7e014adb9d8dcf (patch)
tree850a6e56ff658e0fd6c861219af73067eaca2e22 /src/backend/taler-merchant-httpd_private-post-templates.c
parentae6d2de1610ceb06e58b945a04a3d184b95d3e44 (diff)
downloadmerchant-c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf.tar.gz
merchant-c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf.tar.bz2
merchant-c00762ce8297fbb4ea9590a0fb7e014adb9d8dcf.zip
template post, get, patch and delete
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-templates.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-post-templates.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-post-templates.c b/src/backend/taler-merchant-httpd_private-post-templates.c
index 1e6206bb..a2112486 100644
--- a/src/backend/taler-merchant-httpd_private-post-templates.c
+++ b/src/backend/taler-merchant-httpd_private-post-templates.c
@@ -46,11 +46,11 @@ templates_equal (const struct TALER_MERCHANTDB_TemplateDetails *t1,
const struct TALER_MERCHANTDB_TemplateDetails *t2)
{
return ( (0 == strcmp (t1->template_description,
- t2->tempate_description)) &&
+ t2->template_description)) &&
(0 == strcmp (t1->image,
t2->image)) &&
- (1 == json_equal (p1->template_contract,
- p2->template_contract));
+ (1 == json_equal (t1->template_contract,
+ t2->template_contract)));
}