[API/Vulcan] Fix teachers endpoint last sync date. (#116)

This commit is contained in:
Antoni Czaplicki 2021-10-31 14:24:39 +01:00 committed by GitHub
parent 86f5811bda
commit a1b5560977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ class VulcanHebeTeachers(
TAG, TAG,
VULCAN_HEBE_ENDPOINT_TEACHERS, VULCAN_HEBE_ENDPOINT_TEACHERS,
HebeFilterType.BY_PERIOD, HebeFilterType.BY_PERIOD,
lastSync = lastSync, lastSync = 0L,
) { list, _ -> ) { list, _ ->
list.forEach { person -> list.forEach { person ->
val name = person.getString("Name") val name = person.getString("Name")