diff --git a/CHANGELOG.md b/CHANGELOG.md index f09f1343..198bf8a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fixed using incorrect URL for Sonarr + ## [1.4.1] - 2021-05-15 ### Fixed diff --git a/src/Trash/Sonarr/Api/SonarrApi.cs b/src/Trash/Sonarr/Api/SonarrApi.cs index be02d4a9..9d2f9187 100644 --- a/src/Trash/Sonarr/Api/SonarrApi.cs +++ b/src/Trash/Sonarr/Api/SonarrApi.cs @@ -78,6 +78,6 @@ namespace Trash.Sonarr.Api .ReceiveJson>(); } - private string BaseUrl() => _configProvider.ActiveConfiguration.BaseUrl; + private string BaseUrl() => _configProvider.ActiveConfiguration.BuildUrl(); } }