fix(route/bilibili): check subtitle permission

This commit is contained in:
Stephen Zhou
2025-10-11 11:23:29 +08:00
parent a27330a771
commit 6ecfd818fd
+1 -1
View File
@@ -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);
}