aboutsummaryrefslogtreecommitdiffstats
path: root/src/services/graphql/thematics.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-23 19:32:42 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-23 20:53:58 +0200
commitc51b5d9a5f217f8aa59c4bdcb04eb3c87f5129b3 (patch)
treea4ce7f77c2b1742119eebf818d9b97db7ed1e310 /src/services/graphql/thematics.ts
parent5ebd7c14f7303a0feb8ec1d902ecd0e287d929c3 (diff)
fix: ensure all topics/thematics have the base url
Diffstat (limited to 'src/services/graphql/thematics.ts')
-rw-r--r--src/services/graphql/thematics.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/graphql/thematics.ts b/src/services/graphql/thematics.ts
index fd9d9f5..4dc69e7 100644
--- a/src/services/graphql/thematics.ts
+++ b/src/services/graphql/thematics.ts
@@ -79,7 +79,7 @@ export const getThematicFromRawData = (data: RawThematic): Thematic => {
posts.forEach((post) => {
if (post.acfPosts.postsInTopic) {
post.acfPosts.postsInTopic.forEach((topic) =>
- topics.push(getPageLinkFromRawData(topic))
+ topics.push(getPageLinkFromRawData(topic, 'topic'))
);
}
});