commit 804c52553464167c9fa0c7243939f17cee42c172
parent 9c2c75f391991e1b1e7e23dd0826dbf8f5c0afde
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 4 Jun 2023 01:34:51 +0200
taxes are an array
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 (