fix: typo
This commit is contained in:
@@ -35,9 +35,9 @@ module.exports = async (ctx) => {
|
||||
item: list.map((item) => ({
|
||||
title: item.title,
|
||||
description: `${item.description || item.title}${!disableEmbed ? `<br><br>${utils.iframe(item.aid, null, item.bvid)}` : ''}<br><img src="${item.pic}">`,
|
||||
pubDate: data.create && new Date(data.create).toUTCString(),
|
||||
pubDate: item.create && new Date(item.create).toUTCString(),
|
||||
author: item.author,
|
||||
link: !data.create || (new Date(data.create) / 1000 > utils.bvidTime && item.bvid) ? `https://www.bilibili.com/video/${item.bvid}` : `https://www.bilibili.com/video/av${item.aid}`,
|
||||
link: !item.create || (new Date(item.create) / 1000 > utils.bvidTime && item.bvid) ? `https://www.bilibili.com/video/${item.bvid}` : `https://www.bilibili.com/video/av${item.aid}`,
|
||||
})),
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user