소스 검색

more test

Sv443 3 년 전
부모
커밋
1a359a9321
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/lyrics.js

+ 2 - 2
src/lyrics.js

@@ -49,12 +49,12 @@ async function getLyrics(title, artist)
 {
     try
     {
-        return await apiGetLyrics({
+        return (await apiGetLyrics({
             apiKey: accessToken,
             title,
             artist,
             optimizeQuery: true,
-        });
+        })) ?? "nullish";
     }
     catch(err)
     {