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

This commit is contained in:
xboard committed 2026-03-26 03:51:58 +08:00
1 parent b9276470eb
commit c8ef04d55f
2 files changed
+2 -2

No files matched your search

+1 -1
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',