Skip to content

Commit

Permalink
fix(route): bilibili/watchlater (DIYgod#14547)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qixingchen authored Feb 24, 2024
1 parent 77ba0d0 commit 3c9bce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/bilibili/watchlater.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3c9bce7

Please sign in to comment.