Info Queries (#627)

This commit is contained in:
Mitchell Syer
2023-08-03 18:09:11 -04:00
committed by GitHub
parent e2754200af
commit 06d7a6d892
3 changed files with 53 additions and 2 deletions

View File

@@ -33,13 +33,13 @@ object AppUpdate {
val stableJson = json.parseToJsonElement(
network.client.newCall(
GET(LATEST_STABLE_CHANNEL_URL)
).await().body!!.string()
).await().body.string()
).jsonObject
val previewJson = json.parseToJsonElement(
network.client.newCall(
GET(LATEST_PREVIEW_CHANNEL_URL)
).await().body!!.string()
).await().body.string()
).jsonObject
return listOf(