Fixed: Use Update branch specified in settings instead of always develop

This commit is contained in:
Qstick
2017-11-25 15:40:12 -05:00
parent 9dcf90d241
commit 8219a8014b

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Core.Configuration;
@@ -23,7 +23,7 @@ namespace NzbDrone.Core.Update
public List<UpdatePackage> GetRecentUpdatePackages()
{
var branch = "develop";//_configFileProvider.Branch;
var branch = _configFileProvider.Branch;
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
}
}