fix: resolve all build compilation and style check warnings (#597)
* fix: resolve all build compilation and style check warnings * fix: remove unused import in SystemViewModel
This commit is contained in:
28 files changed
+293
-192
No files matched your search
+6
-1
@@ -25,7 +25,12 @@ internal object DashboardSessionTokenRefresher {
|
||||
client: OkHttpClient,
|
||||
): String? =
|
||||
try {
|
||||
val request = Request.Builder().url(baseUrl).get().build()
|
||||
val request =
|
||||
Request
|
||||
.Builder()
|
||||
.url(baseUrl)
|
||||
.get()
|
||||
.build()
|
||||
client.newCall(request).execute().use { response ->
|
||||
if (!response.isSuccessful) return null
|
||||
// Cap the read — the SPA HTML can be large, and we only need the
|
||||
|
||||
Reference in new issue
Block a user