Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Aug 27, 2024
1 parent e4b95b2 commit 0a4e4f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/frontend/src/pages/admin/update.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,17 @@ async function init() {
skipVersion.value = false;
await misskeyApi('admin/update-meta', { skipVersion: skipVersion.value });
}
} catch (error) {
console.error('Failed to fetch CherryPick releases:', error);
}

try {
// Misskey Releases Fetch
const misskeyResponse = await fetch('https://api.github.com/repos/misskey-dev/misskey/releases');
const misskeyData = await misskeyResponse.json();
releasesMisskey.value = meta.enableReceivePrerelease ? misskeyData : misskeyData.filter(x => !x.prerelease);
} catch (error) {
console.error('Failed to fetch releases:', error);
console.error('Failed to fetch Misskey releases:', error);
}
}

Expand Down

0 comments on commit 0a4e4f0

Please sign in to comment.