mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(indexers): delete feed with indexer (#1810)
* fix(indexers): delete feed in one go * fix(indexers): sort imports * refactor(feeds): db methods for find
This commit is contained in:
parent
41216babe6
commit
40fe3e9f54
10 changed files with 167 additions and 92 deletions
|
@ -40,6 +40,10 @@ type Indexer struct {
|
|||
Settings map[string]string `json:"settings,omitempty"`
|
||||
}
|
||||
|
||||
func (i Indexer) ImplementationIsFeed() bool {
|
||||
return i.Implementation == "rss" || i.Implementation == "torznab" || i.Implementation == "newznab"
|
||||
}
|
||||
|
||||
type IndexerMinimal struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue