From 24089031fba1008f43e3c241701c0e2f3119185b Mon Sep 17 00:00:00 2001 From: Shayne Marc Enzo Ahchoon Date: Wed, 27 Nov 2024 16:02:50 +0000 Subject: [PATCH] WSTEAM1-1347: Update --- src/app/routes/onDemandAudio/getInitialData/index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/routes/onDemandAudio/getInitialData/index.ts b/src/app/routes/onDemandAudio/getInitialData/index.ts index 4df77eac411..f602b8038fb 100644 --- a/src/app/routes/onDemandAudio/getInitialData/index.ts +++ b/src/app/routes/onDemandAudio/getInitialData/index.ts @@ -3,7 +3,6 @@ import pathOr from 'ramda/src/pathOr'; import { RADIO_MISSING_FIELD, PODCAST_MISSING_FIELD } from '#lib/logger.const'; import { InitialDataProps } from '#app/models/types/initialData'; import fetchDataFromBFF from '#app/routes/utils/fetchDataFromBFF'; -import overrideRendererOnTest from '../../utils/overrideRendererOnTest'; import getErrorStatusCode from '../../utils/fetchPageData/utils/getErrorStatusCode'; import { getPodcastExternalLinks } from '../tempData/podcastExternalLinks'; @@ -44,10 +43,8 @@ export default async ({ try { const { isPodcast, getRecentEpisodesToggle } = getConfig(pathname); - const radioPodcastDataPath = overrideRendererOnTest(pathname); - const { json, status } = await fetchDataFromBFF({ - pathname: radioPodcastDataPath, + pathname, pageType, service, getAgent,