Skip to content

Commit

Permalink
fix: fixed /await protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
y9san9 committed Nov 10, 2023
1 parent 701e59e commit d93ce03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ internal class AuthTelegramEngine(
suspend fun await(
request: AwaitTelegramAuthRequest
): AwaitTelegramAuthRequest.Response {
val url = baseUrl / "await"
val url = baseUrl.replaceProtocolWithWebsocket() / "await"

val socket = rsocketClient.rSocket(
urlString = url.string,
Expand Down

0 comments on commit d93ce03

Please sign in to comment.