diff --git a/src/pages/features.tsx b/src/pages/features.tsx index 689b75b14a..233225c730 100644 --- a/src/pages/features.tsx +++ b/src/pages/features.tsx @@ -177,7 +177,7 @@ const LearnArticles = () => { useEffect(() => { const fetchData = async () => { const rawData = await fetch( - 'https://blog.podman.io/wp-json/wp/v2/posts?per_page=4&_fields=id, author_info, title, wbDate, jetpack_featured_media_url, link, excerpt', + 'https://blog.podman.io/wp-json/wp/v2/posts?per_page=4&_fields=id, author, author_info, title, wbDate, jetpack_featured_media_url, link, excerpt', ); const jsonData = await rawData.json(); setBlogData(jsonData); diff --git a/src/pages/index.tsx b/src/pages/index.tsx index c03029185c..b8a1c161f3 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -53,7 +53,7 @@ const LatestNews = () => { useEffect(() => { const fetchData = async () => { const rawData = await fetch( - 'https://blog.podman.io/wp-json/wp/v2/posts?per_page=4&_fields=id, author_info, title, wbDate, jetpack_featured_media_url, link, excerpt', + 'https://blog.podman.io/wp-json/wp/v2/posts?per_page=4&_fields=id, author, author_info, title, wbDate, jetpack_featured_media_url, link, excerpt', ); const jsonData = await rawData.json(); setBlogData(jsonData);