mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-03-05 13:40:08 -05:00
fix(SpeedApp): correct status code check
This commit is contained in:
@@ -94,7 +94,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
||||
|
||||
var statusCode = (int)response.StatusCode;
|
||||
|
||||
if (statusCode is < 200 or > 400)
|
||||
if (statusCode is < 200 or > 299)
|
||||
{
|
||||
throw new HttpException(response);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user