From 15e9f37a2843825a29f40432fe28d7a389052dad Mon Sep 17 00:00:00 2001 From: Thomas Dacey Date: Mon, 17 Oct 2022 15:38:58 -0400 Subject: [PATCH] exit beta lowercase --- graphql/mappers/home.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphql/mappers/home.js b/graphql/mappers/home.js index ed5b62db0..6afc31b28 100644 --- a/graphql/mappers/home.js +++ b/graphql/mappers/home.js @@ -31,10 +31,10 @@ export async function getHomeContent() { .filter((e) => e), exitBeta: { title: response.data.schPagev1ByPath.item.scFragments.find( - (element) => element.scId === 'EXIT-BETA-VERSION' + (element) => element.scId === 'exit-beta-version' ).scTitleEn, link: response.data.schPagev1ByPath.item.scFragments.find( - (element) => element.scId === 'EXIT-BETA-VERSION' + (element) => element.scId === 'exit-beta-version' ).scDestinationURLEn, }, }, @@ -65,10 +65,10 @@ export async function getHomeContent() { .filter((e) => e), exitBeta: { title: response.data.schPagev1ByPath.item.scFragments.find( - (element) => element.scId === 'EXIT-BETA-VERSION' + (element) => element.scId === 'exit-beta-version' ).scTitleFr, link: response.data.schPagev1ByPath.item.scFragments.find( - (element) => element.scId === 'EXIT-BETA-VERSION' + (element) => element.scId === 'exit-beta-version' ).scDestinationURLFr, }, },