From f085e17ef7f4434cc17fa2f58720fd7fc5c653fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kuba=20Szczodrzy=C5=84ski?= Date: Fri, 25 Nov 2022 16:51:35 +0100 Subject: [PATCH] [API/Vulcan] Once again fix ignoring 404 response on Addressbook. --- .../edziennik/data/api/edziennik/vulcan/data/VulcanHebe.kt | 2 +- 1 file changed, 1 insertion(+), 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 7cb21253..83963340 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 @@ -445,7 +445,7 @@ open class VulcanHebe(open val data: DataVulcan, open val lastSync: Long?) { ) .format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")) - apiGet(tag, url, query, allow404) { json: JsonArray?, response -> + apiGet(tag, url, query, allow404 = allow404) { json: JsonArray?, response -> onSuccess(json?.map { it.asJsonObject } ?: listOf(), response) } }