aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_lock_product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_lock_product.c')
-rw-r--r--src/lib/merchant_api_lock_product.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/merchant_api_lock_product.c b/src/lib/merchant_api_lock_product.c
index a3c345d5..3a3caaeb 100644
--- a/src/lib/merchant_api_lock_product.c
+++ b/src/lib/merchant_api_lock_product.c
@@ -159,7 +159,7 @@ TALER_MERCHANT_product_lock (
struct GNUNET_CURL_Context *ctx,
const char *backend_url,
const char *product_id,
- const struct GNUNET_Uuid *uuid,
+ const char *uuid,
struct GNUNET_TIME_Relative duration,
uint32_t quantity,
TALER_MERCHANT_ProductLockCallback cb,
@@ -169,8 +169,8 @@ TALER_MERCHANT_product_lock (
json_t *req_obj;
req_obj = GNUNET_JSON_PACK (
- GNUNET_JSON_pack_data_auto ("lock_uuid",
- uuid),
+ GNUNET_JSON_pack_string ("lock_uuid",
+ uuid),
GNUNET_JSON_pack_time_rel ("duration",
duration),
GNUNET_JSON_pack_uint64 ("quantity",