mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(indexers): add (#276)
This commit is contained in:
parent
2a23ed0185
commit
198528a474
1 changed files with 8 additions and 0 deletions
|
@ -376,6 +376,10 @@ func (s *service) LoadIndexerDefinitions() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if d.Implementation == "" {
|
||||||
|
d.Implementation = "irc"
|
||||||
|
}
|
||||||
|
|
||||||
s.indexerDefinitions[d.Identifier] = d
|
s.indexerDefinitions[d.Identifier] = d
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -430,6 +434,10 @@ func (s *service) LoadCustomIndexerDefinitions() error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if d.Implementation == "" {
|
||||||
|
d.Implementation = "irc"
|
||||||
|
}
|
||||||
|
|
||||||
s.indexerDefinitions[d.Identifier] = d
|
s.indexerDefinitions[d.Identifier] = d
|
||||||
|
|
||||||
customCount++
|
customCount++
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue