Skip to content

Commit

Permalink
fix(spotify): filter removed episodes (DIYgod#18456)
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL authored Feb 25, 2025
1 parent ad3ba03 commit c0ec886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/spotify/show.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ async function handler(ctx) {
itunes_category: meta.type,
itunes_explicit: meta.explicit,
allowEmpty: true,
item: episodes.map((x) => ({
item: episodes.filter(Boolean).map((x) => ({
title: x.name,
description: x.html_description,
pubDate: parseDate(x.release_date),
Expand Down

0 comments on commit c0ec886

Please sign in to comment.