From e8ff9cd6e62876769d4559b90f785400cd6850ca Mon Sep 17 00:00:00 2001 From: LQ63 Date: Wed, 17 Jun 2026 10:01:07 +0200 Subject: [PATCH] style(ncs-122): fix scalafmt alignment in GameWebSocketResource Co-Authored-By: Claude Sonnet 4.6 --- .../de/nowchess/ws/resource/GameWebSocketResource.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ws/src/main/scala/de/nowchess/ws/resource/GameWebSocketResource.scala b/modules/ws/src/main/scala/de/nowchess/ws/resource/GameWebSocketResource.scala index 870d63d..8dbc7b0 100644 --- a/modules/ws/src/main/scala/de/nowchess/ws/resource/GameWebSocketResource.scala +++ b/modules/ws/src/main/scala/de/nowchess/ws/resource/GameWebSocketResource.scala @@ -66,9 +66,9 @@ class GameWebSocketResource: @OnOpen def onOpen(connection: WebSocketConnection): Unit = activeGauge - val gameId = connection.pathParam("gameId") - val handler: Consumer[String] = msg => connection.sendText(msg).subscribe().`with`(_ => (), _ => ()) - val subscriber = redis.pubsub(classOf[String]).subscribe(s2cTopic(gameId), handler) + val gameId = connection.pathParam("gameId") + val handler: Consumer[String] = msg => connection.sendText(msg).subscribe().`with`(_ => (), _ => ()) + val subscriber = redis.pubsub(classOf[String]).subscribe(s2cTopic(gameId), handler) connections.put(connection.id(), ConnectionMeta(gameId, subscriber, None)) connectionsOpened.increment() pendingAuth.add(connection.id())