mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-09-03 05:10:27 +03:00
Update app/src/main/java/org/jellyfin/mobile/utils/ServerConnectionUtils.kt
:+1 Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
This commit is contained in:
co-authored by
Niels van Velzen
parent
93df888543
commit
becaf839aa
@@ -71,7 +71,7 @@ suspend fun fetchServerInfo(httpClient: OkHttpClient, url: HttpUrl): String? {
|
||||
return withContext(Dispatchers.IO) {
|
||||
try {
|
||||
request.execute().use { it.body?.string() }
|
||||
}catch (e:IOException){
|
||||
} catch (e: IOException) {
|
||||
null
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user