mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 13:57:11 -04:00
Go to http if def exists on def server
This commit is contained in:
parent
dab4500b16
commit
94ef3ea88f
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ namespace NzbDrone.Core.IndexerVersions
|
|||
var dbDefs = _versionService.All();
|
||||
|
||||
//Check to ensure it's in versioned defs before we go to web
|
||||
if (dbDefs.Count > 0 && dbDefs.Any(x => x.File == fileKey))
|
||||
if (dbDefs.Count > 0 && !dbDefs.Any(x => x.File == fileKey))
|
||||
{
|
||||
throw new ArgumentNullException(nameof(fileKey));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue