fix: update version

This commit is contained in:
Andras Bacsai
2022-02-27 12:22:04 +01:00
parent 4cf907c572
commit 6c32f3b130
2 changed files with 2 additions and 4 deletions

View File

@@ -62,7 +62,7 @@
if (overrideVersion || data?.isUpdateAvailable) {
latestVersion = overrideVersion || data.latestVersion;
isUpdateAvailable = overrideVersion ? true : data?.isUpdateAvailable;
await post(`/update.json`, { type: 'pull', latestVersion, overrideVersion });
await post(`/update.json`, { type: 'pull', latestVersion });
}
} catch (error) {}
}