mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 13:10:13 -07:00
Fixed: Use Update branch specified in settings instead of always develop
This commit is contained in:
parent
9dcf90d241
commit
8219a8014b
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using NzbDrone.Common.EnvironmentInfo;
|
using NzbDrone.Common.EnvironmentInfo;
|
||||||
using NzbDrone.Core.Configuration;
|
using NzbDrone.Core.Configuration;
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ namespace NzbDrone.Core.Update
|
||||||
|
|
||||||
public List<UpdatePackage> GetRecentUpdatePackages()
|
public List<UpdatePackage> GetRecentUpdatePackages()
|
||||||
{
|
{
|
||||||
var branch = "develop";//_configFileProvider.Branch;
|
var branch = _configFileProvider.Branch;
|
||||||
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
|
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue