We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db1769f commit 830cc71Copy full SHA for 830cc71
src/main/kotlin/org/phoenixframework/PhxSocket.kt
@@ -120,7 +120,7 @@ open class PhxSocket(
120
// If there are query params, append them now
121
params?.let {
122
val httpBuilder = httpUrl.newBuilder()
123
- it.forEach { key, value ->
+ it.forEach { (key, value) ->
124
httpBuilder.addQueryParameter(key, value.toString())
125
}
126
@@ -442,4 +442,4 @@ open class PhxSocket(
442
override fun onFailure(webSocket: WebSocket?, t: Throwable, response: Response?) {
443
this.onConnectionError(t, response)
444
445
-}
+}
0 commit comments