1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 20:12:41 +02:00

fixed newznab apikey

This commit is contained in:
Keivan Beigi 2013-06-03 16:07:36 -07:00
parent a997c10ca1
commit a7fc3f9776

View File

@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NzbDrone.Common;
using NzbDrone.Common.Serializer;
namespace NzbDrone.Core.Indexers.Newznab
@ -57,7 +56,7 @@ public override IEnumerable<string> RecentFeed
{
var url = String.Format("{0}/api?t=tvsearch&cat=5030,5040,5070,5090s", Settings.Url);
if (String.IsNullOrWhiteSpace(Settings.ApiKey))
if (!String.IsNullOrWhiteSpace(Settings.ApiKey))
{
url += "&apikey=" + Settings.ApiKey;
}