diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-20 13:39:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-20 13:39:18 +0200 |
commit | 64cc6eb8c6ed4b7867c76f57c7762414ab4d0685 (patch) | |
tree | 0fe7ae499fa9b43b85765192eb515358920d1ff6 /src/backend/taler-merchant-httpd_private-post-products.c | |
parent | 458dc3653b4aef54130c580fd41610aa03f61d68 (diff) | |
download | merchant-64cc6eb8c6ed4b7867c76f57c7762414ab4d0685.tar.gz merchant-64cc6eb8c6ed4b7867c76f57c7762414ab4d0685.tar.bz2 merchant-64cc6eb8c6ed4b7867c76f57c7762414ab4d0685.zip |
backenddb implementation work
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-post-products.c')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-post-products.c | 8 |
1 files changed, 4 insertions, 4 deletions
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", |