mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Update AnimeBytes required passkey length (#3079)
Allow length of 48 for passkey for future changes in AnimeBytes codebase.
This commit is contained in:
@@ -68,8 +68,8 @@ namespace Jackett.Common.Indexers
|
|||||||
{
|
{
|
||||||
LoadValuesFromJson(configJson);
|
LoadValuesFromJson(configJson);
|
||||||
|
|
||||||
if (configData.Passkey.Value.Length != 32)
|
if (configData.Passkey.Value.Length != 32 && configData.Passkey.Value.Length != 48)
|
||||||
throw new Exception("invalid passkey configured: expected length: 32, got " + configData.Passkey.Value.Length.ToString());
|
throw new Exception("invalid passkey configured: expected length: 32 or 48, got " + configData.Passkey.Value.Length.ToString());
|
||||||
|
|
||||||
var results = await PerformQuery(new TorznabQuery());
|
var results = await PerformQuery(new TorznabQuery());
|
||||||
if (results.Count() == 0)
|
if (results.Count() == 0)
|
||||||
|
Reference in New Issue
Block a user