mirror of
https://github.com/idanoo/autobrr
synced 2025-07-22 16:29:12 +00:00
fix(indexers): torznab update not working (#332)
This commit is contained in:
parent
5ef2ea04b5
commit
94a3810f57
1 changed files with 1 additions and 6 deletions
|
@ -215,12 +215,7 @@ func (s *service) mapIndexer(indexer domain.Indexer) (*domain.IndexerDefinition,
|
|||
}
|
||||
|
||||
func (s *service) updateMapIndexer(indexer domain.Indexer) (*domain.IndexerDefinition, error) {
|
||||
definitionName := indexer.Identifier
|
||||
if indexer.Implementation == "torznab" {
|
||||
definitionName = "torznab"
|
||||
}
|
||||
|
||||
d, ok := s.mappedDefinitions[definitionName]
|
||||
d, ok := s.mappedDefinitions[indexer.Identifier]
|
||||
if !ok {
|
||||
return nil, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue