Skip to content

Commit

Permalink
fix(page): filter episodes without valid ids
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Jul 15, 2024
1 parent 8b5f9f6 commit 03f4066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/page/src/logic/data/feed-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const transform =
show: transformShow(data),
episodes: await Promise.all(
castArray(get(data, ['channel', 'item'], [])).map(resolveEpisode(episodeId))
),
).then(episodes => episodes.filter(episode => episode.id !== null)),
hosts: castArray(get(data, ['channel', 'podcast:person'], [])).map(transformPerson)
});

Expand Down

0 comments on commit 03f4066

Please sign in to comment.