fix serializing to json of json rpc request

This commit is contained in:
Termina1
2023-01-09 16:21:51 +02:00
parent ad0cb4be1c
commit 424338eb8e

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(