forked from github/szkolny
fix: no query filtering
This commit is contained in:
parent
ab3af67663
commit
d2789342da
@ -391,7 +391,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
|
|||||||
fun apiGetList(
|
fun apiGetList(
|
||||||
tag: String,
|
tag: String,
|
||||||
endpoint: String,
|
endpoint: String,
|
||||||
filterType: HebeFilterType = HebeFilterType.BY_PUPIL,
|
filterType: HebeFilterType? = null,
|
||||||
dateFrom: Date? = null,
|
dateFrom: Date? = null,
|
||||||
dateTo: Date? = null,
|
dateTo: Date? = null,
|
||||||
lastSync: Long? = null,
|
lastSync: Long? = null,
|
||||||
@ -424,6 +424,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) {
|
|||||||
HebeFilterType.BY_MESSAGEBOX -> {
|
HebeFilterType.BY_MESSAGEBOX -> {
|
||||||
query["box"] = messageBox ?: data.messageBoxKey ?: ""
|
query["box"] = messageBox ?: data.messageBoxKey ?: ""
|
||||||
}
|
}
|
||||||
|
else -> {}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dateFrom != null)
|
if (dateFrom != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user