diff --git a/server/routes/request.ts b/server/routes/request.ts index cd6ef8f7f..0819bdfa8 100644 --- a/server/routes/request.ts +++ b/server/routes/request.ts @@ -256,6 +256,9 @@ requestRoutes.post('/', async (req, res, next) => { .leftJoin('request.media', 'media') .where('request.is4k = :is4k', { is4k: req.body.is4k }) .andWhere('media.tmdbId = :tmdbId', { tmdbId: tmdbMedia.id }) + .andWhere('request.status != :requestStatus', { + requestStatus: MediaRequestStatus.DECLINED, + }) .getOne(); if (existing) {