fix(route/apnews): Correct property `author` (#19410)
This commit is contained in:
parent
6059b5674f
commit
3779854c8e
|
|
@ -44,7 +44,7 @@ export function fetchArticle(item) {
|
|||
description: $('div.RichTextStoryBody').html() || $(':is(.VideoLead, .VideoPage-pageSubHeading)').html(),
|
||||
category: [...(section ? [section] : []), ...(ldjson.keywords ?? [])],
|
||||
guid: $("meta[name='brightspot.contentId']").attr('content'),
|
||||
author: ldjson.author,
|
||||
author: ldjson.author?.map((e) => e.mainEntity),
|
||||
};
|
||||
} else {
|
||||
// Live
|
||||
|
|
|
|||
Loading…
Reference in New Issue