enable code shrink

This commit is contained in:
2020-10-20 20:22:50 +02:00
parent a5fffd5d02
commit f0ed6aa379
4 changed files with 17 additions and 15 deletions

View File

@ -92,13 +92,8 @@ class TMDBApiController {
GlobalScope.async {
val response = JsonParser.parseString(url.readText()).asJsonObject
//println(response)
val runtime = getStringNotNull(response,"runtime").toInt()
println(runtime)
return@async runtime
return@async getStringNotNull(response,"runtime").toInt()
}.await()
}