mirror of
https://github.com/Jackett/Jackett
synced 2025-03-10 14:14:25 +00:00
beyoundhdapi: add config info about keys #12993
This commit is contained in:
parent
bd1d2c01aa
commit
0d6188029e
2 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue