diff --git a/lib/routes/bilibili/cache.ts b/lib/routes/bilibili/cache.ts index befd2fb61..0ff57a7c4 100644 --- a/lib/routes/bilibili/cache.ts +++ b/lib/routes/bilibili/cache.ts @@ -276,7 +276,7 @@ const getVideoSubtitle = async ( const cookie = await getCookie(); response = await getSubtitleData(cookie); - if (response?.data?.data?.subtitle?.permission === '0') { + if (response?.data?.data?.permission === '0') { const newCookie = await getCookie(true); response = await getSubtitleData(newCookie); }