mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
feat(filters): add external script and webhook checks
This commit is contained in:
parent
16dd8c5419
commit
d56693cd33
17 changed files with 635 additions and 200 deletions
|
@ -76,7 +76,7 @@ func (s *service) qbittorrent(action domain.Action, release domain.Release) ([]s
|
|||
}
|
||||
|
||||
// macros handle args and replace vars
|
||||
m := NewMacro(release)
|
||||
m := domain.NewMacro(release)
|
||||
|
||||
options, err := s.prepareQbitOptions(action, m)
|
||||
if err != nil {
|
||||
|
@ -100,7 +100,7 @@ func (s *service) qbittorrent(action domain.Action, release domain.Release) ([]s
|
|||
return nil, nil
|
||||
}
|
||||
|
||||
func (s *service) prepareQbitOptions(action domain.Action, m Macro) (map[string]string, error) {
|
||||
func (s *service) prepareQbitOptions(action domain.Action, m domain.Macro) (map[string]string, error) {
|
||||
|
||||
options := map[string]string{}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue