Skip to content

Commit

Permalink
perf(blacklist): remove media type constraint from existing blacklist…
Browse files Browse the repository at this point in the history
… entry query

Doesn't make sense to keep it because tmdbid has a unique constraint on it
  • Loading branch information
benbeauchamp7 committed Feb 4, 2025
1 parent c8a9522 commit 29508a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/job/blacklistedTagsProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class BlacklistedTagProcessor implements RunnableScanner<StatusBase> {

for (const entry of response.results) {
const blacklistEntry = await blacklistRepository.findOne({
where: { tmdbId: entry.id, mediaType },
where: { tmdbId: entry.id },
});

if (blacklistEntry != null) {
Expand Down

0 comments on commit 29508a9

Please sign in to comment.