Include version in services Changes api call so the server knows how to redirect.

This commit is contained in:
Taloth Saldono
2015-02-07 15:56:36 +01:00
parent 955029ec43
commit 40987cc335
3 changed files with 6 additions and 4 deletions
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Core.Configuration;
namespace NzbDrone.Core.Update
@@ -23,7 +24,7 @@ namespace NzbDrone.Core.Update
public List<UpdatePackage> GetRecentUpdatePackages()
{
var branch = _configFileProvider.Branch;
return _updatePackageProvider.GetRecentUpdates(branch);
return _updatePackageProvider.GetRecentUpdates(branch, BuildInfo.Version);
}
}
}