diff options
Diffstat (limited to 'src/lib/merchant_api_post_orders.c')
-rw-r--r-- | src/lib/merchant_api_post_orders.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/merchant_api_post_orders.c b/src/lib/merchant_api_post_orders.c index b7e406f4..2cd16cba 100644 --- a/src/lib/merchant_api_post_orders.c +++ b/src/lib/merchant_api_post_orders.c @@ -247,7 +247,7 @@ TALER_MERCHANT_orders_post2 ( unsigned int inventory_products_length, const struct TALER_MERCHANT_InventoryProduct inventory_products[], unsigned int uuids_length, - const struct GNUNET_Uuid uuids[], + const char *uuids[], bool create_token, TALER_MERCHANT_PostOrdersCallback cb, void *cb_cls) @@ -310,9 +310,7 @@ TALER_MERCHANT_orders_post2 ( { json_t *u; - u = GNUNET_JSON_PACK ( - GNUNET_JSON_pack_data_auto ("uuid", - &uuids[i])); + u = json_string (uuids[i]); GNUNET_assert (0 == json_array_append_new (ua, u)); |