perf(blacklist): remove media type constraint from existing blacklist entry query
Doesn't make sense to keep it because tmdbid has a unique constraint on it
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user