Skip to content

Commit

Permalink
fix(requests): remove requestedBy user param from existing movie requ…
Browse files Browse the repository at this point in the history
…est check (#1569)
  • Loading branch information
TheCatLady committed May 8, 2021
1 parent 7a19f82 commit 788f3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ requestRoutes.post('/', async (req, res, next) => {
media: {
tmdbId: tmdbMedia.id,
},
requestedBy: req.user,
is4k: req.body.is4k,
},
});
Expand All @@ -265,6 +264,7 @@ requestRoutes.post('/', async (req, res, next) => {
logger.warn('Duplicate request for media blocked', {
tmdbId: tmdbMedia.id,
mediaType: req.body.mediaType,
is4k: req.body.is4k,
});
return next({
status: 409,
Expand Down

0 comments on commit 788f3dc

Please sign in to comment.