fix(route): bilibili/watchlater (#14547)
This commit is contained in:
parent
77ba0d050f
commit
3c9bce7252
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue