edited todays schedule

This commit is contained in:
2026-04-15 21:05:41 +02:00
parent acf3557a4d
commit 29b7fd357b
+33 -9
View File
@@ -7,20 +7,44 @@ app.get("/api/today", (req, res) => {
// Simulate fetching today's schedule
const todaySchedule = {
day: "Montag",
lessons: [
subjects: [
{
period: "1.",
time_start: "08:00",
time_end: "08:55",
lesson_nr: "1.",
name: "D G2",
room: "255",
subject: "D",
group: "G2",
teacher: "VanC",
color: "pink",
day: "Montag",
clock: "08:00-08:55",
cancelled: false,
},
{
lesson_nr: "2. & 3.",
name: "M G2",
room: "255",
teacher: "ScLa",
clock: "08:55-10:25",
cancelled: false,
},
{
lesson_nr: "4.",
name: "E G4",
room: "254",
teacher: "RadF",
clock: "10:55-11:40",
cancelled: false,
},
{
lesson_nr: "5.",
name: "CH G2",
room: "133",
teacher: "LenT",
clock: "11:40-12:25",
cancelled: true,
},
],
date: "15.04.2026",
day: "Mittwoch",
week: "16",
student: "Max Mustermann",
};
console.log(`Fetching schedule for user: ${userLink}`);