forked from github/szkolny
[Vulcan/Hebe] Restore sending date range when getting attendance.
This commit is contained in:
parent
0cf24c527b
commit
93e3d5994a
@ -25,10 +25,16 @@ class VulcanHebeAttendance(
|
||||
}
|
||||
|
||||
init {
|
||||
val semesterNumber = data.studentSemesterNumber
|
||||
val startDate = profile?.getSemesterStart(semesterNumber)
|
||||
val endDate = profile?.getSemesterEnd(semesterNumber)
|
||||
|
||||
apiGetList(
|
||||
TAG,
|
||||
VULCAN_HEBE_ENDPOINT_ATTENDANCE,
|
||||
HebeFilterType.BY_PUPIL,
|
||||
dateFrom = startDate,
|
||||
dateTo = endDate,
|
||||
lastSync = lastSync
|
||||
) { list, _ ->
|
||||
list.forEach { attendance ->
|
||||
|
Loading…
Reference in New Issue
Block a user