Fix build error

This commit is contained in:
simojenki
2021-09-21 11:41:14 +10:00
parent 0bc2d39a37
commit c60d2e7745

View File

@@ -90,7 +90,7 @@ if (config.sonos.autoRegister) {
); );
} }
}); });
} else if(config.sonos.discovery.auto) { } else if(config.sonos.discovery.enabled) {
sonosSystem.devices().then(devices => { sonosSystem.devices().then(devices => {
devices.forEach(d => { devices.forEach(d => {
logger.info(`Found device ${d.name}(${d.group}) @ ${d.ip}:${d.port}`) logger.info(`Found device ${d.name}(${d.group}) @ ${d.ip}:${d.port}`)