summaryrefslogtreecommitdiff
path: root/src/backenddb/pg_insert_product.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backenddb/pg_insert_product.c')
-rw-r--r--src/backenddb/pg_insert_product.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backenddb/pg_insert_product.c b/src/backenddb/pg_insert_product.c
index 3767accc..19096962 100644
--- a/src/backenddb/pg_insert_product.c
+++ b/src/backenddb/pg_insert_product.c
@@ -41,8 +41,8 @@ TMH_PG_insert_product (void *cls,
GNUNET_PQ_query_param_string (pd->unit),
GNUNET_PQ_query_param_string (pd->image),
TALER_PQ_query_param_json (pd->taxes),
- TALER_PQ_query_param_amount_tuple (pg->conn,
- &pd->price),
+ TALER_PQ_query_param_amount (pg->conn,
+ &pd->price),
GNUNET_PQ_query_param_uint64 (&pd->total_stock),
TALER_PQ_query_param_json (pd->address),
GNUNET_PQ_query_param_timestamp (&pd->next_restock),