fix: replace content_type_id with __typename

This commit is contained in:
Arvid Norlin
2024-02-14 11:15:52 +01:00
parent 5b3b47b568
commit 0556b509bc
4 changed files with 12 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ export default async function CurrentContentPage({
const pageData = response.data.all_current_blocks_page.items[0]
const trackingData = {
pageName: pageData.title,
pageType: pageData.system.content_type_uid,
pageType: pageData.__typename,
publishedDate: pageData.system.updated_at,
createdDate: pageData.system.created_at,
pageId: pageData.system.uid,