mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(indexers): duplicates in list (#317)
* feat(indexers): refactor setup and updates * feat(indexers): use definitions as non-pointer
This commit is contained in:
parent
bb2641f447
commit
f9cf837486
2 changed files with 132 additions and 98 deletions
|
@ -16,7 +16,7 @@ type indexerService interface {
|
|||
Update(ctx context.Context, indexer domain.Indexer) (*domain.Indexer, error)
|
||||
List(ctx context.Context) ([]domain.Indexer, error)
|
||||
GetAll() ([]*domain.IndexerDefinition, error)
|
||||
GetTemplates() ([]*domain.IndexerDefinition, error)
|
||||
GetTemplates() ([]domain.IndexerDefinition, error)
|
||||
Delete(ctx context.Context, id int) error
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue