mirror of https://github.com/lidarr/Lidarr
Add major version to changes request
This commit is contained in:
parent
2ad2859618
commit
04f07aefe1
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.EnvironmentInfo;
|
||||
using RestSharp;
|
||||
using NzbDrone.Core.Rest;
|
||||
|
||||
|
@ -36,6 +37,7 @@ namespace NzbDrone.Core.Update
|
|||
|
||||
var request = new RestRequest("/v1/update/{branch}/changes");
|
||||
|
||||
request.AddParameter("majorVersion", BuildInfo.Version.Major);
|
||||
request.AddUrlSegment("branch", branch);
|
||||
|
||||
var updates = restClient.ExecuteAndValidate<List<UpdatePackage>>(request);
|
||||
|
|
Loading…
Reference in New Issue