From b40428794bc9583500779f494266f346d093afd3 Mon Sep 17 00:00:00 2001 From: sadorowo Date: Thu, 13 Jun 2024 22:47:49 +0200 Subject: [PATCH] fix: no query filtering --- .../edziennik/data/api/edziennik/vulcan/data/VulcanHebe.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/vulcan/data/VulcanHebe.kt b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/vulcan/data/VulcanHebe.kt index cf7272d5..5031393f 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/vulcan/data/VulcanHebe.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/data/api/edziennik/vulcan/data/VulcanHebe.kt @@ -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)