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; }