Merge pull request #103 from p2p-org/fix/request-to-json-again

fix serializing to json of json rpc request
This commit is contained in:
Vyacheslav Shebanov
2023-01-09 16:38:47 +02:00
committed by GitHub

View File

@@ -259,7 +259,7 @@ open class WsConnectionImpl(
val calls = rpcSend val calls = rpcSend
.asFlux() .asFlux()
.map { .map {
Unpooled.wrappedBuffer(Global.objectMapper.writeValueAsBytes(it)) Unpooled.wrappedBuffer(it.toJson())
} }
return outbound.send( return outbound.send(