beyoundhdapi: add config info about keys #12993

This commit is contained in:
Garfield69 2022-02-27 12:38:29 +13:00
parent bd1d2c01aa
commit 0d6188029e
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ namespace Jackett.Common.Indexers
logger: l,
p: ps,
cacheService: cs,
configData: new ConfigurationDataAPIKeyAndRSSKey())
configData: new ConfigurationDataAPIKeyAndRSSKey("Find the API and RSS keys under your security settings (your profile picture -> my security)"))
{
Encoding = Encoding.UTF8;
Language = "en-US";

View File

@ -4,11 +4,13 @@ namespace Jackett.Common.Models.IndexerConfig
{
public StringConfigurationItem ApiKey { get; private set; }
public StringConfigurationItem RSSKey { get; private set; }
public DisplayInfoConfigurationItem Instructions { get; private set; }
public ConfigurationDataAPIKeyAndRSSKey()
public ConfigurationDataAPIKeyAndRSSKey(string instructionMessageOptional = null)
{
ApiKey = new StringConfigurationItem("API Key");
RSSKey = new StringConfigurationItem("RSS Key");
Instructions = new DisplayInfoConfigurationItem("", instructionMessageOptional);
}
}
}