mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
fix(irc): panic when creating indexer with irc (#986)
fix(irc): store channel panic
This commit is contained in:
parent
1f8804154e
commit
2af0021ce6
3 changed files with 14 additions and 18 deletions
|
@ -122,7 +122,7 @@ func (m IrcMessage) Bytes() []byte {
|
|||
}
|
||||
|
||||
type IrcRepo interface {
|
||||
StoreNetwork(network *IrcNetwork) error
|
||||
StoreNetwork(ctx context.Context, network *IrcNetwork) error
|
||||
UpdateNetwork(ctx context.Context, network *IrcNetwork) error
|
||||
StoreChannel(ctx context.Context, networkID int64, channel *IrcChannel) error
|
||||
UpdateChannel(channel *IrcChannel) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue