fix(route): fix xiaoyuzhou podcast smallPicUrl issue (#9218)

This commit is contained in:
James Tsang
2022-03-01 03:12:09 +08:00
committed by GitHub
parent e7295b3014
commit 700077dea6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
module.exports = {
'/': ['prnake', 'Maecenas'],
'/podcast/:id': ['hondajojo'],
'/podcast/:id': ['hondajojo', 'jtsang4'],
};
+1 -1
View File
@@ -21,7 +21,7 @@ module.exports = async (ctx) => {
link: `https://www.xiaoyuzhoufm.com/episode/${item.eid}`,
pubDate: parseDate(item.pubDate),
description: item.shownotes,
itunes_item_image: item.image.smallPicUrl,
itunes_item_image: (item.image || item.podcast?.image)?.smallPicUrl,
}));
ctx.state.data = {