mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +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
|
||||
}
|
||||
|
||||
if d.Implementation == "" {
|
||||
d.Implementation = "irc"
|
||||
}
|
||||
|
||||
s.indexerDefinitions[d.Identifier] = d
|
||||
}
|
||||
|
||||
|
@ -430,6 +434,10 @@ func (s *service) LoadCustomIndexerDefinitions() error {
|
|||
return err
|
||||
}
|
||||
|
||||
if d.Implementation == "" {
|
||||
d.Implementation = "irc"
|
||||
}
|
||||
|
||||
s.indexerDefinitions[d.Identifier] = d
|
||||
|
||||
customCount++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue