fix(download-client): Deluge push error (#1719)

fix(downloadclient): Deluge push error
This commit is contained in:
ze0s 2024-09-12 18:42:35 +02:00 committed by GitHub
parent ac6f62db99
commit 2681c2357d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 12 additions and 5 deletions

View file

@ -21,6 +21,7 @@ func (s *service) whisparr(ctx context.Context, action *domain.Action, release d
if err != nil {
return nil, errors.Wrap(err, "could not get client with id %d", action.ClientID)
}
action.Client = client
if !client.Enabled {
return nil, errors.New("client %s %s not enabled", client.Type, client.Name)