1
0

Compare commits

..

2 Commits

Author SHA1 Message Date
jzitnik 1f9543909a chore: Test
Remote Deploy / deploy (push) Successful in 1m16s
2026-06-02 12:12:35 +02:00
jzitnik b4118f7b25 chore: possible fix 2026-06-02 12:09:42 +02:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -24,6 +24,8 @@ export default async function getAnnouncements(dates: string[]): Promise<Announc
const url = new URL(`/v1/announcements/${dates.join(",")}`, API_BASE_URL).toString();
console.log("URL", url)
try {
const response = await fetch(url);
const data = await response.json();
+1 -1
View File
@@ -130,7 +130,7 @@ export default async function parseV3(workbook: Workbook, downloadedFilePath: st
const schedule: any = {};
for (const { dateKey, sheet } of resolvedDays) {
const { changes, absence, inWork, takesPlace, reservedRooms } = extractDaySchedule(sheet, teacherMap, themeColors, annoucements[dateKey].map(a => a.flags).flat());
const { changes, absence, inWork, takesPlace, reservedRooms } = extractDaySchedule(sheet, teacherMap, themeColors, annoucements[dateKey]?.map(a => a.flags)?.flat() || []);
schedule[dateKey] = {
info: { inWork },