Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/overseerr/commit/b5fd1d520cd2a7be6e6356a25129e93af1caf542 You should set ROOT_URL correctly, otherwise the web may not work correctly.

fix(notifications): only send a single notification when standard media becomes available

fixes 
pull/782/head
sct 4 years ago
parent c43cd16eff
commit b5fd1d520c

@ -21,7 +21,7 @@ export class MediaSubscriber implements EntitySubscriberInterface {
if (entity.mediaType === MediaType.MOVIE) {
const requestRepository = getRepository(MediaRequest);
const relatedRequests = await requestRepository.find({
where: { media: entity },
where: { media: entity, is4k: false },
});
if (relatedRequests.length > 0) {
@ -64,7 +64,7 @@ export class MediaSubscriber implements EntitySubscriberInterface {
for (const changedSeasonNumber of changedSeasons) {
const requests = await requestRepository.find({
where: { media: entity },
where: { media: entity, is4k: false },
});
const request = requests.find(
(request) =>

Loading…
Cancel
Save