mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(indexers-irc): load new values on update (#274)
* fix(indexers-irc): reload config on restart * fix(indexers-irc): reload config * fix: indexer add form
This commit is contained in:
parent
45053d9823
commit
2903e7b493
6 changed files with 46 additions and 55 deletions
|
@ -358,7 +358,7 @@ func (r *Release) RejectionsString() string {
|
|||
}
|
||||
|
||||
// MapVars better name
|
||||
func (r *Release) MapVars(def IndexerDefinition, varMap map[string]string) error {
|
||||
func (r *Release) MapVars(def *IndexerDefinition, varMap map[string]string) error {
|
||||
|
||||
if torrentName, err := getStringMapValue(varMap, "torrentName"); err != nil {
|
||||
return errors.Wrap(err, "failed parsing required field")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue