Skip to content

Commit 735c797

Browse files
committed
Bug gefikst waardoor het rooster niet werd geladen dankzij een wijziging
aan de API, omdat de fields niet ingesteld waren
1 parent 42d8ecb commit 735c797

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

schedule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ async function fetchSchedule(year, week, isFirstLoad) {
432432
return;
433433
}
434434
const response = await fetch(
435-
`https://${schoolName}.zportal.nl/api/liveschedule?${userType}=~me&week=${year}${week}&fields`,
435+
`https://${schoolName}.zportal.nl/api/liveschedule?${userType}=~me&week=${year}${week}&fields=week,user,appointments,replacements,status`,
436436
{
437437
headers: {
438438
Authorization: `Bearer ${accessToken}`,

0 commit comments

Comments
 (0)