From 64cc6eb8c6ed4b7867c76f57c7762414ab4d0685 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 20 Apr 2020 13:39:18 +0200 Subject: backenddb implementation work --- src/backend/taler-merchant-httpd_private-post-products.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/taler-merchant-httpd_private-post-products.c') diff --git a/src/backend/taler-merchant-httpd_private-post-products.c b/src/backend/taler-merchant-httpd_private-post-products.c index 498e51c9..c4402841 100644 --- a/src/backend/taler-merchant-httpd_private-post-products.c +++ b/src/backend/taler-merchant-httpd_private-post-products.c @@ -61,8 +61,8 @@ products_equal (const struct TALER_MERCHANTDB_ProductDetails *p1, (p1->total_lost == p2->total_lost) && (1 == json_equal (p1->image, p2->image)) && - (1 == json_equal (p1->location, - p2->location)) && + (1 == json_equal (p1->address, + p2->address)) && (p1->next_restock.abs_value_us == p2->next_restock.abs_value_us) ); } @@ -101,8 +101,8 @@ TMH_private_post_products (const struct TMH_RequestHandler *rh, &pd.image), GNUNET_JSON_spec_json ("taxes", &pd.taxes), - GNUNET_JSON_spec_json ("location", - &pd.taxes), + GNUNET_JSON_spec_json ("address", + &pd.address), GNUNET_JSON_spec_int64 ("total_stocked", &total_stocked), GNUNET_JSON_spec_absolute_time ("next_restock", -- cgit v1.2.3