fix: no query filtering

This commit is contained in:
Franek 2024-06-13 22:47:49 +02:00 committed by Kuba Szczodrzyński
parent 2a0cd2f0dc
commit b40428794b

View File

@ -391,7 +391,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
fun apiGetList(
tag: String,
endpoint: String,
filterType: HebeFilterType = HebeFilterType.BY_PUPIL,
filterType: HebeFilterType? = null,
dateFrom: Date? = null,
dateTo: Date? = null,
lastSync: Long? = null,
@ -424,6 +424,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
HebeFilterType.BY_MESSAGEBOX -> {
query["box"] = messageBox ?: data.messageBoxKey ?: ""
}
else -> {}
}
if (dateFrom != null)