From b4cd32e7cb3165c1d816014ad583937e5d00eade Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Tue, 27 Jan 2026 10:39:29 +0100 Subject: [PATCH] =?UTF-8?q?Popraw=20nazwy=20kluczy=20w=20danych=20dotycz?= =?UTF-8?q?=C4=85cych=20godzin=20otwarcia=20sklep=C3=B3w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/salony/index.php | 2 +- salony/widget.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/salony/index.php b/api/salony/index.php index f318130..e50a634 100644 --- a/api/salony/index.php +++ b/api/salony/index.php @@ -50,7 +50,7 @@ foreach ($places as $place) { $shopItem['address'] = $shop['address']; } - if (!empty($shop['openHours'])) { + if (!empty($shop['open_hours'])) { $shopItem['openHours'] = $shop['open_hours']; } diff --git a/salony/widget.js b/salony/widget.js index 97bd08d..1a32030 100644 --- a/salony/widget.js +++ b/salony/widget.js @@ -184,7 +184,7 @@ clone.querySelector('.shopAddress').textContent = `${place.name} - ${ shop.address || '' }` - clone.querySelector('.shopHours').textContent = shop.open_hours || '—' + clone.querySelector('.shopHours').textContent = shop.openHours || '—' // GOOGLE LINK const googleLink = clone.querySelector('.googleLink')