mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 17:43:05 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -61,10 +61,10 @@ export async function resolveNodeId(opts: NodesRpcOpts, query: string) {
|
||||
|
||||
let nodes: NodeListNode[] = [];
|
||||
try {
|
||||
const res = (await callGatewayCli("node.list", opts, {})) as unknown;
|
||||
const res = await callGatewayCli("node.list", opts, {});
|
||||
nodes = parseNodeList(res);
|
||||
} catch {
|
||||
const res = (await callGatewayCli("node.pair.list", opts, {})) as unknown;
|
||||
const res = await callGatewayCli("node.pair.list", opts, {});
|
||||
const { paired } = parsePairingList(res);
|
||||
nodes = paired.map((n) => ({
|
||||
nodeId: n.nodeId,
|
||||
|
||||
Reference in New Issue
Block a user