fix: no query filtering

This commit is contained in:
Franek 2024-06-13 22:47:49 +02:00
parent ab3af67663
commit d2789342da
No known key found for this signature in database
GPG Key ID: 0329F871B2079351

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)