fix(LOY-48): unify domainLanguage assignment across all contentstack queries

This commit is contained in:
Chuma McPhoy
2024-12-20 14:30:58 +01:00
parent 78094b7c10
commit 61f3c8ecd3
3 changed files with 3 additions and 4 deletions
@@ -63,7 +63,7 @@ export const collectionPageQueryRouter = router({
const tracking: TrackingSDKPageData = {
pageId: collectionPage.data.collection_page.system.uid,
domainLanguage: collectionPage.data.collection_page.system.locale as Lang,
domainLanguage: lang,
publishedDate: collectionPage.data.collection_page.system.updated_at,
createdDate: collectionPage.data.collection_page.system.created_at,
channel: TrackingChannelEnum["collection-page"],