From 6cc0eefb3e6e320f655c20bf77c03ced1b508ef4 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 27 Nov 2020 17:53:29 +0600 Subject: [PATCH] upfix of default in includeWebsocketHandling --- .../kotlin/dev/inmo/micro_utils/ktor/server/FlowsWebsocket.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/ktor/server/FlowsWebsocket.kt b/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/ktor/server/FlowsWebsocket.kt index fea1e291c2e..ac265170316 100644 --- a/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/ktor/server/FlowsWebsocket.kt +++ b/ktor/server/src/jvmMain/kotlin/dev/inmo/micro_utils/ktor/server/FlowsWebsocket.kt @@ -34,7 +34,7 @@ fun Route.includeWebsocketHandling( suburl: String, flow: Flow, serializer: SerializationStrategy, - serialFormat: StandardKtorSerialFormat + serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat ) = includeWebsocketHandling( suburl, flow