mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Potentially fix #2726
This commit is contained in:
parent
145166064a
commit
dcc28ff26e
1 changed files with 4 additions and 0 deletions
|
@ -195,6 +195,10 @@ namespace Ombi.Core.Engine
|
|||
{
|
||||
// Check if this user requested it
|
||||
var user = await GetUser();
|
||||
if (user == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
var request = await RequestService.MovieRequestService.GetAll()
|
||||
.AnyAsync(x => x.RequestedUserId.Equals(user.Id) && x.TheMovieDbId == viewModel.Id);
|
||||
if (request)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue