fix(downloadclients): remove from filter actions on delete (#891)

fix(downloadclients): properly delete from filter actions
This commit is contained in:
ze0s 2023-05-01 01:18:46 +02:00 committed by GitHub
parent 91e4f5b435
commit 64900c4d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 59 additions and 6 deletions

View file

@ -49,7 +49,7 @@ type Action struct {
WebhookHeaders []string `json:"webhook_headers,omitempty"`
FilterID int `json:"filter_id,omitempty"`
ClientID int32 `json:"client_id,omitempty"`
Client DownloadClient `json:"client,omitempty"`
Client *DownloadClient `json:"client,omitempty"`
}
// ParseMacros parse all macros on action