From e312d82003d6df6d8a029fc45ce145916f27826a Mon Sep 17 00:00:00 2001 From: gsd Date: Mon, 15 Jan 2024 21:03:51 +0300 Subject: [PATCH] websocket support v3 fix 2 --- src/main/java/app/websocket/handlers/ServersHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/app/websocket/handlers/ServersHandler.java b/src/main/java/app/websocket/handlers/ServersHandler.java index b41421c..282b7a4 100644 --- a/src/main/java/app/websocket/handlers/ServersHandler.java +++ b/src/main/java/app/websocket/handlers/ServersHandler.java @@ -66,7 +66,7 @@ public class ServersHandler extends TextWebSocketHandler implements BaseWebsocke push2All( objectMapper.writeValueAsString( new HashMap() {{ - put("server", new HashMap(){{ + put("servers", new HashMap(){{ put(srv, server);}}); }})); } catch (IOException err) {