mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 11:19:59 +00:00
Update scan_barcode_v2.html
This commit is contained in:
@@ -58,7 +58,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch(`{{url_for("add_meal.query")}}?q=${encodeURIComponent(query)}`)
|
fetch(`{{url_for("add_meal_v2.query")}}?q=${encodeURIComponent(query)}`)
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
suggestionsBox.innerHTML = '';
|
suggestionsBox.innerHTML = '';
|
||||||
|
|||||||
Reference in New Issue
Block a user