diff options
Diffstat (limited to 'src/lib/merchant_api_lock_product.c')
-rw-r--r-- | src/lib/merchant_api_lock_product.c | 6 |
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 ( | |||
159 | struct GNUNET_CURL_Context *ctx, | 159 | struct GNUNET_CURL_Context *ctx, |
160 | const char *backend_url, | 160 | const char *backend_url, |
161 | const char *product_id, | 161 | const char *product_id, |
162 | const struct GNUNET_Uuid *uuid, | 162 | const char *uuid, |
163 | struct GNUNET_TIME_Relative duration, | 163 | struct GNUNET_TIME_Relative duration, |
164 | uint32_t quantity, | 164 | uint32_t quantity, |
165 | TALER_MERCHANT_ProductLockCallback cb, | 165 | TALER_MERCHANT_ProductLockCallback cb, |
@@ -169,8 +169,8 @@ TALER_MERCHANT_product_lock ( | |||
169 | json_t *req_obj; | 169 | json_t *req_obj; |
170 | 170 | ||
171 | req_obj = GNUNET_JSON_PACK ( | 171 | req_obj = GNUNET_JSON_PACK ( |
172 | GNUNET_JSON_pack_data_auto ("lock_uuid", | 172 | GNUNET_JSON_pack_string ("lock_uuid", |
173 | uuid), | 173 | uuid), |
174 | GNUNET_JSON_pack_time_rel ("duration", | 174 | GNUNET_JSON_pack_time_rel ("duration", |
175 | duration), | 175 | duration), |
176 | GNUNET_JSON_pack_uint64 ("quantity", | 176 | GNUNET_JSON_pack_uint64 ("quantity", |