Use Arch and Runtime when getting list of update changes

This commit is contained in:
Qstick 2020-11-21 23:12:38 -05:00
parent 0b5a40a2b7
commit f9242af246
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ namespace NzbDrone.Core.Update
.Resource("/update/{branch}/changes")
.AddQueryParam("version", currentVersion)
.AddQueryParam("os", OsInfo.Os.ToString().ToLowerInvariant())
.AddQueryParam("arch", RuntimeInformation.OSArchitecture)
.AddQueryParam("runtime", PlatformInfo.Platform.ToString().ToLowerInvariant())
.AddQueryParam("runtimeVer", _platformInfo.Version)
.SetSegment("branch", branch);