mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-18 10:50:50 +02:00
Simplify cookie clearing for MAM
This commit is contained in:
parent
b31b695887
commit
32d23d6636
1 changed files with 2 additions and 2 deletions
|
|
@ -107,13 +107,13 @@ protected override IDictionary<string, string> GetCookies()
|
|||
return CookieUtil.CookieHeaderToDictionary($"mam_id={Settings.MamId}");
|
||||
}
|
||||
|
||||
protected override async Task<ValidationFailure> TestConnection()
|
||||
protected override async Task Test(List<ValidationFailure> failures)
|
||||
{
|
||||
UpdateCookies(null, null);
|
||||
|
||||
_logger.Debug("Cookies cleared.");
|
||||
|
||||
return await base.TestConnection().ConfigureAwait(false);
|
||||
await base.Test(failures).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
private IndexerCapabilities SetCapabilities()
|
||||
|
|
|
|||
Loading…
Reference in a new issue