fix?
This commit is contained in:
parent
ebc8ac76de
commit
0945607b3f
|
@ -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 New Issue