From 508f0503e9f442a33eff96901a79903154237331 Mon Sep 17 00:00:00 2001 From: DEV2DEV_DE Date: Wed, 29 Nov 2023 13:52:42 +0100 Subject: [PATCH] Removed duplicate calls --- main.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.js b/main.js index 8f95d97..1d32940 100644 --- a/main.js +++ b/main.js @@ -241,7 +241,6 @@ class Jablotron extends utils.Adapter { await this.extendObjectAsync(id, { type: 'folder', common: { name: `${name}` }, native: {}, }); this.states.push(id); } - await this.extendObjectAsync(id, { type: 'folder', common: { name: `${name}` }, native: {}, }); } /** @@ -254,7 +253,6 @@ class Jablotron extends utils.Adapter { await this.extendObjectAsync(id, { type: 'channel', common: { name: `${name}` }, native: {}, }); this.states.push(id); } - await this.extendObjectAsync(id, { type: 'channel', common: { name: `${name}` }, native: {}, }); } /**