Dependency upgrade

This commit is contained in:
tom5079
2020-06-19 16:34:05 +09:00
parent b04a5fc150
commit 2f8445fb83
10 changed files with 33 additions and 34 deletions

View File

@@ -42,7 +42,7 @@ data class ProxyInfo(
}
fun authenticator() = Authenticator { _, response ->
val credential = Credentials.basic(username, password)
val credential = Credentials.basic(username ?: "", password ?: "")
response.request().newBuilder()
.header("Proxy-Authorization", credential)