Skip to content

Commit

Permalink
Fix minor type in entityPublish.js (#2311)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjorge authored and Koenkk committed Nov 11, 2019
1 parent fc98b95 commit 3dbf454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/extension/entityPublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class EntityPublish extends BaseExtension {
}

const ID = match[1].replace(`${settings.get().mqtt.base_topic}/`, '');
// If we didn't repalce base_topic we received something we don't care about
// If we didn't replace base_topic we received something we don't care about
if (ID === match[1] || ID.match(/bridge/)) {
return null;
}
Expand Down

0 comments on commit 3dbf454

Please sign in to comment.