mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
parent
281afe7d9d
commit
b0753ab153
@ -131,7 +131,7 @@ private string AuthenticateClient(DownloadStationSettings settings)
|
||||
{
|
||||
var authInfo = GetApiInfo(DiskStationApi.Auth, settings);
|
||||
|
||||
var requestBuilder = BuildRequest(settings, authInfo, "login", 2);
|
||||
var requestBuilder = BuildRequest(settings, authInfo, "login", authInfo.MaxVersion >= 7 ? 6 : 2);
|
||||
requestBuilder.AddQueryParam("account", settings.Username);
|
||||
requestBuilder.AddQueryParam("passwd", settings.Password);
|
||||
requestBuilder.AddQueryParam("format", "sid");
|
||||
|
Loading…
Reference in New Issue
Block a user