diff --git a/src/www/js/app.js b/src/www/js/app.js index 4f281998..4a258d95 100644 --- a/src/www/js/app.js +++ b/src/www/js/app.js @@ -288,8 +288,8 @@ new Vue({ Promise.resolve().then(async () => { const currentRelease = await this.api.getRelease(); const latestRelease = await fetch('https://wg-easy.github.io/wg-easy/changelog.json') - .then(res => res.json()) - .then(releases => { + .then((res) => res.json()) + .then((releases) => { const releasesArray = Object.entries(releases).map(([version, changelog]) => ({ version: parseInt(version, 10), changelog,