mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 10:54:36 -06:00
[API/Vulcan] Once again fix ignoring 404 response on Addressbook.
This commit is contained in:
parent
7fd2cad46b
commit
f085e17ef7
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user