From 5d70492392526f80501f8a0ae289e5a30b654d00 Mon Sep 17 00:00:00 2001 From: Igor Borges Date: Wed, 22 Jun 2022 21:01:07 +0000 Subject: [PATCH] Proper override the GetProfiles method --- src/Ombi.Api.Sonarr/SonarrV3Api.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Ombi.Api.Sonarr/SonarrV3Api.cs b/src/Ombi.Api.Sonarr/SonarrV3Api.cs index 98f7dea51..71c230f35 100644 --- a/src/Ombi.Api.Sonarr/SonarrV3Api.cs +++ b/src/Ombi.Api.Sonarr/SonarrV3Api.cs @@ -1,6 +1,8 @@ using System.Net.Http; using System.Collections.Generic; using System.Threading.Tasks; + +using Ombi.Api.Sonarr.Models; using Ombi.Api.Sonarr.Models.V3; namespace Ombi.Api.Sonarr @@ -22,7 +24,7 @@ namespace Ombi.Api.Sonarr return await Api.Request>(request); } - public async Task> GetProfiles(string apiKey, string baseUrl) + public override async Task> GetProfiles(string apiKey, string baseUrl) { var request = new Request($"{ApiBaseUrl}qualityprofile", baseUrl, HttpMethod.Get); request.AddHeader("X-Api-Key", apiKey);