Fix comparing nextCheckAt with previous config

This commit is contained in:
Maks Snegov 2024-04-24 00:45:35 -07:00
parent 92d9f51ab1
commit b693401ff4

View File

@ -505,6 +505,7 @@ async function runner() {
} // end consulates loop
for (let consulate in config.consulates) {
if (!prev_config?.consulates?.[consulate]) continue;
if (config.consulates[consulate].nextCheckAt != prev_config.consulates[consulate].nextCheckAt) {
console.log(`Next check for ${consulate} at ${config.consulates[consulate].nextCheckAt}`);
}