mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
fix?
This commit is contained in:
parent
0db6550efc
commit
0e4f4ebaca
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