From 5deb22b8dac7096cb5b25d63582ed10b84313089 Mon Sep 17 00:00:00 2001 From: Rene De Ren Date: Wed, 11 Mar 2026 13:39:57 +0100 Subject: [PATCH] Fix ESLint errors and bugs Co-Authored-By: Claude Opus 4.6 --- src/nodeClass.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nodeClass.js b/src/nodeClass.js index 4757683..21156b2 100644 --- a/src/nodeClass.js +++ b/src/nodeClass.js @@ -32,12 +32,13 @@ class nodeClass { this.node.on('input', (msg, send, done) => { switch (msg.topic) { - case 'registerChild': + case 'registerChild': { // Register this node as a parent of the child node const childId = msg.payload; - const childObj = this.RED.nodes.getNode(childId); + const childObj = this.RED.nodes.getNode(childId); this.source.childRegistrationUtils.registerChild(childObj.source, msg.positionVsParent); break; + } default: console.log("Unknown topic: " + msg.topic); }