From 4d22b85d134aed7e157656175a5a5ecd6b76bf98 Mon Sep 17 00:00:00 2001 From: Martin Berka Date: Sat, 3 Jun 2023 09:41:49 +0200 Subject: [PATCH] =?UTF-8?q?Odstran=C4=9Bn=C3=AD=20p=C5=99eb=C3=BDvaj=C3=AD?= =?UTF-8?q?c=C3=AD=20dvojte=C4=8Dky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/App.tsx | 2 +- food_api/food_api.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/src/App.tsx b/client/src/App.tsx index dbfd5c6..6daf7da 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -116,7 +116,7 @@ function App() {

Dnes je {data.date}

{renderFoodTable('Sladovnická', food.sladovnicka)} - {renderFoodTable('U Motlíků', food["uMotliku:"])} + {renderFoodTable('U Motlíků', food.uMotliku)} {renderFoodTable('TechTower', food.techTower)}
diff --git a/food_api/food_api.py b/food_api/food_api.py index 3f76137..52344ea 100644 --- a/food_api/food_api.py +++ b/food_api/food_api.py @@ -15,7 +15,6 @@ app.add_middleware( def read_root(mock: bool = False): return { 'sladovnicka': getMenuSladovnicka(mock), - # TODO opravit dvojtečku! - 'uMotliku:': getMenuUMotliku(mock), + 'uMotliku': getMenuUMotliku(mock), 'techTower': getMenuTechTower(mock) }