clean up old logs

This commit is contained in:
jeffvli
2026-01-16 11:05:33 -08:00
parent dc5414284a
commit 431ff76e19
6 changed files with 10 additions and 16 deletions
-2
View File
@@ -141,13 +141,11 @@ export async function query(
): Promise<InternetProviderLyricResponse | null> {
const lyricsMatch = await getMatchedLyrics(params);
if (!lyricsMatch) {
console.error('Could not find the song on NetEase!');
return null;
}
const lyrics = await getLyricsBySongId(lyricsMatch.id);
if (!lyrics) {
console.error('Could not get lyrics on NetEase!');
return null;
}