Fix: (MaM) Improve No results logic (#1578)

pull/1580/head
bakerboy448 2 years ago committed by GitHub
parent 3c60159df0
commit 9b50fc40ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -378,7 +378,7 @@ namespace NzbDrone.Core.Indexers.Definitions
var jsonResponse = JsonConvert.DeserializeObject<MyAnonamouseResponse>(indexerResponse.Content);
var error = jsonResponse.Error;
if (error != null && error == "Nothing returned, out of 0")
if (error is "Nothing returned, out of 0" or "Nothing returned, out of 1")
{
return torrentInfos.ToArray();
}

Loading…
Cancel
Save