mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
added version to query string
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user