From 779fa67b6c145317f8cabf5d71ee0b8f2331f248 Mon Sep 17 00:00:00 2001 From: sealday Date: Sun, 7 Apr 2024 05:43:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20build=20=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/actions/lyrics.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/actions/lyrics.ts b/lib/actions/lyrics.ts index d16a1ac..c851c17 100644 --- a/lib/actions/lyrics.ts +++ b/lib/actions/lyrics.ts @@ -151,7 +151,6 @@ export async function getLyricsBySongId( ): Promise { let result: AxiosResponse; try { - // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment -- debug result = await axios.get(LYRICS_URL, { params: { id: songId, @@ -164,7 +163,6 @@ export async function getLyricsBySongId( return null; } - // eslint-disable-next-line @typescript-eslint/no-unsafe-return -- ddd return result.data.klyric?.lyric || result.data.lrc?.lyric; }