Spaces:
Running
Running
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -417,7 +417,7 @@
|
|
| 417 |
displayProof(proofResponse.data);
|
| 418 |
|
| 419 |
// Fetch price tags
|
| 420 |
-
const priceTagsResponse = await axios.get(`https://prices.openfoodfacts.org/api/v1/
|
| 421 |
|
| 422 |
// Display price tags
|
| 423 |
displayPriceTags(priceTagsResponse.data.items);
|
|
|
|
| 417 |
displayProof(proofResponse.data);
|
| 418 |
|
| 419 |
// Fetch price tags
|
| 420 |
+
const priceTagsResponse = await axios.get(`https://prices.openfoodfacts.org/api/v1/price-tags?proof_id=${proofId}`);
|
| 421 |
|
| 422 |
// Display price tags
|
| 423 |
displayPriceTags(priceTagsResponse.data.items);
|