From c51b5d9a5f217f8aa59c4bdcb04eb3c87f5129b3 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 23 May 2022 19:32:42 +0200 Subject: fix: ensure all topics/thematics have the base url --- src/services/graphql/topics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/services/graphql/topics.ts') diff --git a/src/services/graphql/topics.ts b/src/services/graphql/topics.ts index 277580f..0b1971b 100644 --- a/src/services/graphql/topics.ts +++ b/src/services/graphql/topics.ts @@ -80,7 +80,7 @@ export const getTopicFromRawData = (data: RawTopic): Topic => { posts.forEach((post) => { if (post.acfPosts.postsInThematic) { post.acfPosts.postsInThematic.forEach((thematic) => - thematics.push(getPageLinkFromRawData(thematic)) + thematics.push(getPageLinkFromRawData(thematic, 'thematic')) ); } }); -- cgit v1.2.3