Update scan_barcode_v2.html

This commit is contained in:
2025-08-14 12:52:38 +02:00
parent bd0468a600
commit 4aca63671b

View File

@@ -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 = '';