edited todays schedule
This commit is contained in:
+33
-9
@@ -7,20 +7,44 @@ app.get("/api/today", (req, res) => {
|
|||||||
|
|
||||||
// Simulate fetching today's schedule
|
// Simulate fetching today's schedule
|
||||||
const todaySchedule = {
|
const todaySchedule = {
|
||||||
day: "Montag",
|
subjects: [
|
||||||
lessons: [
|
|
||||||
{
|
{
|
||||||
period: "1.",
|
lesson_nr: "1.",
|
||||||
time_start: "08:00",
|
name: "D G2",
|
||||||
time_end: "08:55",
|
|
||||||
room: "255",
|
room: "255",
|
||||||
subject: "D",
|
|
||||||
group: "G2",
|
|
||||||
teacher: "VanC",
|
teacher: "VanC",
|
||||||
color: "pink",
|
clock: "08:00-08:55",
|
||||||
day: "Montag",
|
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}`);
|
console.log(`Fetching schedule for user: ${userLink}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user