fix(contentPage): update domainLanguage assignment to use lang variable

This commit is contained in:
Chuma McPhoy
2024-12-20 14:22:41 +01:00
parent ea27bb01e2
commit 78094b7c10

View File

@@ -85,7 +85,7 @@ export const contentPageQueryRouter = router({
const tracking: TrackingSDKPageData = {
pageId: contentPage.data.content_page.system.uid,
domainLanguage: contentPage.data.content_page.system.locale as Lang,
domainLanguage: lang,
publishedDate: contentPage.data.content_page.system.updated_at,
createdDate: contentPage.data.content_page.system.created_at,
channel: createChannel(contentPage.data.content_page.system.uid),