Skip to content

Commit

Permalink
fix(series): fix syncing condition
Browse files Browse the repository at this point in the history
Whoops

Related to #83
  • Loading branch information
JoosepAlviste committed Feb 5, 2024
1 parent 444e600 commit cf400c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/features/series/series.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const getSeriesByIdAndFetchDetailsFromTMDB = async ({
}) => {
const series = await getSeriesById(ctx)(id)

if (shouldSyncSeries(series)) {
if (!shouldSyncSeries(series)) {
return series
}

Expand Down

0 comments on commit cf400c1

Please sign in to comment.