1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-24 17:01:38 +00:00

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

View file

@ -62,6 +62,8 @@ public List<UpdatePackage> GetRecentUpdates(string branch, Version currentVersio
.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);