From 0428fb20b2ab1a8e092d2962208e247a15ae618c Mon Sep 17 00:00:00 2001 From: NoriDev <11006910+noridev@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:40:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Misskey=EC=9D=98=20=EC=B5=9C=EC=8B=A0=20?= =?UTF-8?q?=EB=B2=84=EC=A0=84=EC=9D=84=20=EB=B6=88=EB=9F=AC=EC=98=AC=20?= =?UTF-8?q?=EC=88=98=20=EC=97=86=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test (#490) --- packages/frontend/src/pages/admin/update.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/admin/update.vue b/packages/frontend/src/pages/admin/update.vue index 30cdbbae67..5a2546ccf9 100644 --- a/packages/frontend/src/pages/admin/update.vue +++ b/packages/frontend/src/pages/admin/update.vue @@ -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); } }