mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-23 00:42:40 +01: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 @@ private CardigannDefinition GetUncachedDefinition(string fileKey)
|
|||
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…
Reference in a new issue