Use real article authors (remove Staff Reporter): removed mock staticArticles + changed fallback to Broadcast Beat
This commit is contained in:
@@ -78,7 +78,7 @@ async function fetchArticles(refs: ArticleRef[]): Promise<UnifiedArticle[]> {
|
||||
excerpt: r.excerpt || "",
|
||||
image: null,
|
||||
date: r.published_at || r.created_at,
|
||||
author: Array.isArray(r.persona) ? r.persona[0]?.name || "Staff Reporter" : r.persona?.name || "Staff Reporter",
|
||||
author: Array.isArray(r.persona) ? r.persona[0]?.name || "Broadcast Beat" : r.persona?.name || "Broadcast Beat",
|
||||
source_table: "ai_rewritten",
|
||||
});
|
||||
}
|
||||
@@ -96,7 +96,7 @@ async function fetchArticles(refs: ArticleRef[]): Promise<UnifiedArticle[]> {
|
||||
excerpt: r.excerpt || "",
|
||||
image: r.featured_image,
|
||||
date: r.wp_published_at,
|
||||
author: r.author_name || "Staff Reporter",
|
||||
author: r.author_name || "Broadcast Beat",
|
||||
source_table: "wp_imported",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user