This commit is contained in:
ThatOneCalculator 2023-01-03 17:43:12 -08:00
parent ebc8ac76de
commit 0945607b3f
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 4 additions and 1 deletions

View File

@ -16,9 +16,12 @@ export const paramDef = {
// eslint-disable-next-line import/no-default-export // eslint-disable-next-line import/no-default-export
export default define(meta, paramDef, async () => { export default define(meta, paramDef, async () => {
let release;
await fetch('https://codeberg.org/calckey/calckey/raw/branch/develop/release.json') await fetch('https://codeberg.org/calckey/calckey/raw/branch/develop/release.json')
.then((response) => response.json()) .then((response) => response.json())
.then((data) => { .then((data) => {
return data; release = data;
}); });
return release;
}); });