fix(route): bilibili/watchlater (#14547)

This commit is contained in:
qixingchen 2024-02-24 20:34:25 +08:00 committed by GitHub
parent 77ba0d050f
commit 3c9bce7252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module.exports = async (ctx) => {
const message = response.data.code === -6 ? '对应 uid 的 Bilibili 用户的 Cookie 已过期' : response.data.message;
throw new Error(`Error code ${response.data.code}: ${message}`);
}
const list = response.data.data.list;
const list = response.data.data.list || [];
const out = list.map((item) => ({
title: item.title,