Fix hardcoded constant when polling for timetable, so teachers can get their timetable too
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user