Fix(route): fix coolapk/huati, err when item.shareUrl is undefined (#8860)
This commit is contained in:
@@ -58,6 +58,8 @@ const parseDynamic = async (item, ctx) => {
|
||||
const pubDate = new Date(item.lastupdate * 1000).toUTCString();
|
||||
if (item.entityType === 'sponsorCard') {
|
||||
return;
|
||||
} else if (item.shareUrl === undefined) {
|
||||
return;
|
||||
}
|
||||
const itemUrl = item.shareUrl.split('?')[0];
|
||||
let description, title;
|
||||
|
||||
Reference in New Issue
Block a user