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

This commit is contained in:
bakerboy448 2023-04-05 14:21:25 -05:00 committed by GitHub
parent 3c60159df0
commit 9b50fc40ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
}