diff --git a/backend/api/src/main/kotlin/io/tolgee/websocket/WebSocketConfig.kt b/backend/api/src/main/kotlin/io/tolgee/websocket/WebSocketConfig.kt index 9ca6296d6d..5770fb955e 100644 --- a/backend/api/src/main/kotlin/io/tolgee/websocket/WebSocketConfig.kt +++ b/backend/api/src/main/kotlin/io/tolgee/websocket/WebSocketConfig.kt @@ -90,7 +90,7 @@ class WebSocketConfig( ) { val userId = destination?.let { - "/user/([0-9]+)".toRegex().find(it)?.groupValues + "/users/([0-9]+)".toRegex().find(it)?.groupValues ?.getOrNull(1)?.toLong() } ?: return