fix setInterval

This commit is contained in:
LouisLam 2021-08-22 00:39:29 +08:00
parent 4571a9b8c1
commit ca3b0a0f19

View file

@ -28,7 +28,7 @@ exports.startInterval = () => {
}; };
check(); check();
interval = setTimeout(check, 3600 * 48); interval = setInterval(check, 3600 * 48);
}; };
exports.enableCheckUpdate = async (value) => { exports.enableCheckUpdate = async (value) => {