Skip to content

Commit

Permalink
fix: reverse published_at check for playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
PofMagicfingers committed Feb 5, 2021
1 parent 62ef924 commit 38368f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/types/resolvers/playlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const Playlist = {
return Promise.resolve();
}

if (item.published_at <= new Date()) {
if (item.published_at > new Date()) {
debug("Ignoring unpublished episode");
return Promise.resolve();
}
Expand Down

0 comments on commit 38368f1

Please sign in to comment.