tmdb rework and metadb integration #46

Merged
Seil0 merged 14 commits from feature/tmdb_rework_and_metadb into develop 2021-09-05 12:10:58 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit a505315781 - Show all commits

View File

@ -76,7 +76,7 @@ class TMDBApiController {
it.asJsonObject.get("title")?.asString
}
return@withContext sortedResults.first().asJsonObject?.get("id")?.asInt ?: -1
return@withContext sortedResults.firstOrNull()?.asJsonObject?.get("id")?.asInt ?: -1
}
@Suppress("BlockingMethodInNonBlockingContext")