mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): line today no icon hash (#12578)
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = async (ctx) => {
|
||||
ctx.state.data = {
|
||||
title: `${publisherInfo.data.name} - Line Today`,
|
||||
description: publisherInfo.data.introduction,
|
||||
image: `https://obs.line-scdn.net/${publisherInfo.data.icon.hash}`,
|
||||
image: publisherInfo.data.icon ? `https://obs.line-scdn.net/${publisherInfo.data.icon.hash}` : undefined,
|
||||
link: `${baseUrl}/${edition}/v2/publisher/${id}`,
|
||||
item: items,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user