From e7e938a1182a11249fe55a96fe8fd97872efb594 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Mon, 2 Dec 2024 16:14:28 +0200 Subject: [PATCH] fixed warehouse name in schedule --- pages/api/schedule.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/api/schedule.ts b/pages/api/schedule.ts index 0672c76..f4d8fda 100644 --- a/pages/api/schedule.ts +++ b/pages/api/schedule.ts @@ -184,12 +184,12 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) if (shift) { // Determine the first shift of the day if it requires transport if (time === times[0] && shift.requiresTransport) { // Check if this is the first time slot of the day - shift.notes = "Докарва количка от Люлин -"; // Update the first shift in the first time slot + shift.notes = "Докарва количка от Склад Сердика -"; // Update the first shift in the first time slot } // Determine the last shift of the day if it requires transport if (time === times[times.length - 1] && shift.requiresTransport) { // Check if this is the last time slot of the day - shift.notes = "Прибира количка в Люлин -"; // Update the last shift in the last time slot + shift.notes = "Прибира количка в Склад Сердика -"; // Update the last shift in the last time slot } } }