Skip to content

Commit

Permalink
Removed duplicate calls
Browse files Browse the repository at this point in the history
  • Loading branch information
DEV2DEV-DE committed Nov 29, 2023
1 parent af728df commit 508f050
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}, });
}

/**
Expand All @@ -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: {}, });
}

/**
Expand Down

0 comments on commit 508f050

Please sign in to comment.