[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -use new TALER_JSON_check_i18n
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -use new TALER_JSON_check_i18n |
Date: |
Mon, 02 Aug 2021 22:18:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new fafdb22f -use new TALER_JSON_check_i18n
fafdb22f is described below
commit fafdb22f2926189c7f84a84aa3e1078ca1281401
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Aug 2 22:18:33 2021 +0200
-use new TALER_JSON_check_i18n
---
src/backend/taler-merchant-httpd_helper.c | 8 --------
src/backend/taler-merchant-httpd_helper.h | 5 -----
src/backend/taler-merchant-httpd_private-patch-products-ID.c | 2 +-
src/backend/taler-merchant-httpd_private-post-products.c | 2 +-
4 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_helper.c
b/src/backend/taler-merchant-httpd_helper.c
index 610548d0..374751d1 100644
--- a/src/backend/taler-merchant-httpd_helper.c
+++ b/src/backend/taler-merchant-httpd_helper.c
@@ -96,14 +96,6 @@ TMH_location_object_valid (const json_t *location)
}
-// FIXME
-bool
-TMH_i18n_object_valid (const json_t *i18n)
-{
- return true; // FIXME
-}
-
-
// FIXME
bool
TMH_image_data_url_valid (const char *image_data_url)
diff --git a/src/backend/taler-merchant-httpd_helper.h
b/src/backend/taler-merchant-httpd_helper.h
index 536f4ce5..4c353942 100644
--- a/src/backend/taler-merchant-httpd_helper.h
+++ b/src/backend/taler-merchant-httpd_helper.h
@@ -49,11 +49,6 @@ bool
TMH_location_object_valid (const json_t *location);
-// FIXME
-bool
-TMH_i18n_object_valid (const json_t *i18n);
-
-
// FIXME
bool
TMH_image_data_url_valid (const char *image_data_url);
diff --git a/src/backend/taler-merchant-httpd_private-patch-products-ID.c
b/src/backend/taler-merchant-httpd_private-patch-products-ID.c
index 7b568094..b146b31f 100644
--- a/src/backend/taler-merchant-httpd_private-patch-products-ID.c
+++ b/src/backend/taler-merchant-httpd_private-patch-products-ID.c
@@ -189,7 +189,7 @@ TMH_private_patch_products_ID (const struct
TMH_RequestHandler *rh,
if (NULL == pd.description_i18n)
pd.description_i18n = json_object ();
- if (! TMH_i18n_object_valid (pd.description_i18n))
+ if (! TALER_JSON_check_i18n (pd.description_i18n))
{
GNUNET_break_op (0);
GNUNET_JSON_parse_free (spec);
diff --git a/src/backend/taler-merchant-httpd_private-post-products.c
b/src/backend/taler-merchant-httpd_private-post-products.c
index 4227c826..dfbec969 100644
--- a/src/backend/taler-merchant-httpd_private-post-products.c
+++ b/src/backend/taler-merchant-httpd_private-post-products.c
@@ -169,7 +169,7 @@ TMH_private_post_products (const struct TMH_RequestHandler
*rh,
"address");
}
- if (! TMH_i18n_object_valid (pd.description_i18n))
+ if (! TALER_JSON_check_i18n (pd.description_i18n))
{
GNUNET_break_op (0);
GNUNET_JSON_parse_free (spec);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: -use new TALER_JSON_check_i18n,
gnunet <=