mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Simplify cookie clearing for MAM
This commit is contained in:
@@ -107,13 +107,13 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
return CookieUtil.CookieHeaderToDictionary($"mam_id={Settings.MamId}");
|
return CookieUtil.CookieHeaderToDictionary($"mam_id={Settings.MamId}");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task<ValidationFailure> TestConnection()
|
protected override async Task Test(List<ValidationFailure> failures)
|
||||||
{
|
{
|
||||||
UpdateCookies(null, null);
|
UpdateCookies(null, null);
|
||||||
|
|
||||||
_logger.Debug("Cookies cleared.");
|
_logger.Debug("Cookies cleared.");
|
||||||
|
|
||||||
return await base.TestConnection().ConfigureAwait(false);
|
await base.Test(failures).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private IndexerCapabilities SetCapabilities()
|
private IndexerCapabilities SetCapabilities()
|
||||||
|
Reference in New Issue
Block a user