From eadf2c810a70816c06ead1d0d4dba7776d4d61b6 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 5 Dec 2022 19:17:24 +0800 Subject: [PATCH] Fix check version --- server/check-version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/check-version.js b/server/check-version.js index 00b47a26e..e0ea908b6 100644 --- a/server/check-version.js +++ b/server/check-version.js @@ -25,7 +25,7 @@ exports.startInterval = () => { let checkBeta = await setting("checkBeta"); if (checkBeta && res.data.beta) { - if (compareVersions.compare(res.data.beta, res.data.beta, ">")) { + if (compareVersions.compare(res.data.beta, res.data.slow, ">")) { exports.latestVersion = res.data.beta; return; }