Fix hardcoded constant when polling for timetable, so teachers can get their timetable too
This commit is contained in:
parent
4475d50524
commit
4b5c2bf022
@ -26,7 +26,7 @@ class GetTimetableCache extends RequestCache<GetTimetableResponse> {
|
||||
options: GetTimetableParamsOptions(
|
||||
element: GetTimetableParamsOptionsElement(
|
||||
id: (await Authenticate.getSession()).personId,
|
||||
type: 5,
|
||||
type: (await Authenticate.getSession()).personType,
|
||||
keyType: GetTimetableParamsOptionsElementKeyType.id,
|
||||
),
|
||||
startDate: startdate,
|
||||
|
Loading…
x
Reference in New Issue
Block a user