fix: use ServerService::getServer() for node lookup in WebSocket

This commit is contained in:
xboard
2026-03-26 03:51:58 +08:00
parent 74b5ef0b27
commit 3c3639613e
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ class NodeWorker
return;
}
$node = Server::find($nodeId);
$node = ServerService::getServer($nodeId, null);
if (!$node) {
$conn->close(json_encode([
'event' => 'error',