Author: Adam Evyčędo <git@apiote.xyz>
dev responses [dev]
app/src/main/java/xyz/apiote/bimba/czwek/api/Api.kt | 12 ++++++++++--
diff --git a/app/src/main/java/xyz/apiote/bimba/czwek/api/Api.kt b/app/src/main/java/xyz/apiote/bimba/czwek/api/Api.kt index 73e6f5d9ede7a37a18a59ca311c10fc7f643b564..190d0502524935eb21facd536dafa38ccaadd38a 100644 --- a/app/src/main/java/xyz/apiote/bimba/czwek/api/Api.kt +++ b/app/src/main/java/xyz/apiote/bimba/czwek/api/Api.kt @@ -103,7 +103,11 @@ "queryables", null, mapOf("near" to near.toString()), context, - arrayOf(1u, 2u, 3u, 4u), + if (server.apiPath == "https://bimba.apiote.xyz/next") { + arrayOf(1u, 2u, 3u, 4u, 0u) + } else { + arrayOf(1u, 2u, 3u, 4u) + }, null ) } @@ -161,7 +165,11 @@ "departures", null, params, context, - arrayOf(1u, 2u, 3u, 4u), + if (server.apiPath == "https://bimba.apiote.xyz/next") { + arrayOf(1u, 2u, 3u, 4u, 0u) + } else { + arrayOf(1u, 2u, 3u, 4u) + }, feedID ) }