From 4aca63671bf73aecd056d85f71d3a71b93445d84 Mon Sep 17 00:00:00 2001 From: Stef Date: Thu, 14 Aug 2025 12:52:38 +0200 Subject: [PATCH] Update scan_barcode_v2.html --- application/add_meal_v2/templates/scan_barcode_v2.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/add_meal_v2/templates/scan_barcode_v2.html b/application/add_meal_v2/templates/scan_barcode_v2.html index dd6655d..fec70c6 100644 --- a/application/add_meal_v2/templates/scan_barcode_v2.html +++ b/application/add_meal_v2/templates/scan_barcode_v2.html @@ -58,7 +58,7 @@ 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(data => { suggestionsBox.innerHTML = '';