fix?
This commit is contained in:
parent
ebc8ac76de
commit
0945607b3f
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue