mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
added version to query string
This commit is contained in:
parent
c6bbc52631
commit
eefe44caa5
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ namespace NzbDrone.Core.Update
|
|||
|
||||
public UpdatePackage GetLatestUpdate()
|
||||
{
|
||||
var url = String.Format("{0}/v1/update/{1}?{2}", Services.RootUrl, _configFileProvider.Branch, BuildInfo.Version);
|
||||
var url = String.Format("{0}/v1/update/{1}?version={2}", Services.RootUrl, _configFileProvider.Branch, BuildInfo.Version);
|
||||
var update = JsonConvert.DeserializeObject<UpdatePackageAvailable>(_httpProvider.DownloadString(url));
|
||||
|
||||
if (!update.Available) return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue