Skip to content

Commit

Permalink
WSTEAM1-1347: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
shayneahchoon committed Nov 27, 2024
1 parent 908c6b0 commit 2408903
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/routes/onDemandAudio/getInitialData/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 2408903

Please sign in to comment.