Fix error with checking config changes

This commit is contained in:
Maks Snegov 2024-04-22 22:03:26 -07:00
parent 3f61d82ec5
commit d5475e7055

View File

@ -177,7 +177,7 @@ async function runner() {
for (let key in config) {
if (config.hasOwnProperty(key)
&& (!_.isEqual(config[key], prev_config[key]) || prev_config[key] === null)) {
&& !_.isEqual(config[key], prev_config[key])) {
console.log(`Config change: ${key}, ${prev_config[key]} => ${config[key]}`);
// reduce countdown if frequency is reduced