summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-06-04 01:34:51 +0200
committerChristian Grothoff <christian@grothoff.org>2023-06-04 01:34:51 +0200
commit804c52553464167c9fa0c7243939f17cee42c172 (patch)
tree78be4dec4018b1818ae7d47e533f591cfc650fb3 /src/lib
parent9c2c75f391991e1b1e7e23dd0826dbf8f5c0afde (diff)
downloadmerchant-804c52553464167c9fa0c7243939f17cee42c172.tar.gz
merchant-804c52553464167c9fa0c7243939f17cee42c172.tar.bz2
merchant-804c52553464167c9fa0c7243939f17cee42c172.zip
taxes are an array
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/merchant_api_get_product.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/merchant_api_get_product.c b/src/lib/merchant_api_get_product.c
index f38dcf62..3f026bf3 100644
--- a/src/lib/merchant_api_get_product.c
+++ b/src/lib/merchant_api_get_product.c
@@ -108,7 +108,7 @@ handle_get_product_finished (void *cls,
GNUNET_JSON_spec_string (
"image",
&pgr.details.ok.image),
- GNUNET_JSON_spec_object_const (
+ GNUNET_JSON_spec_array_const (
"taxes",
&pgr.details.ok.taxes),
GNUNET_JSON_spec_int64 (