Update NewznabController.cs

pull/211/head v0.1.0.447
Qstick 3 years ago committed by GitHub
parent b6a08bdd9e
commit a8fdd46cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@ namespace NzbDrone.Api.V1.Indexers
throw new BadRequestException("Missing Function Parameter");
}
request.imdbid = request.imdbid.TrimStart('t');
request.imdbid = request.imdbid?.TrimStart('t') ?? null;
if (request.imdbid.IsNotNullOrWhiteSpace())
{

Loading…
Cancel
Save