mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(notifications): disable notification and events have no effect (#1754)
fix(notifications): disable notificatio nand events
This commit is contained in:
parent
009647fcd1
commit
ca2d956e02
13 changed files with 118 additions and 125 deletions
|
@ -12,8 +12,8 @@ type NotificationRepo interface {
|
|||
List(ctx context.Context) ([]Notification, error)
|
||||
Find(ctx context.Context, params NotificationQueryParams) ([]Notification, int, error)
|
||||
FindByID(ctx context.Context, id int) (*Notification, error)
|
||||
Store(ctx context.Context, notification Notification) (*Notification, error)
|
||||
Update(ctx context.Context, notification Notification) (*Notification, error)
|
||||
Store(ctx context.Context, notification *Notification) error
|
||||
Update(ctx context.Context, notification *Notification) error
|
||||
Delete(ctx context.Context, notificationID int) error
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue