From 5d80298d6899a447d31b41f659aac518f2a525e4 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Sat, 15 May 2021 21:45:44 -0500 Subject: [PATCH] fix(sonarr): use correct url use BuildUrl() instead of BaseUrl --- CHANGELOG.md | 4 ++++ src/Trash/Sonarr/Api/SonarrApi.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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(); } }