fixes
This commit is contained in:
@@ -26,7 +26,7 @@ func NewBotAll(
|
||||
}
|
||||
}
|
||||
|
||||
func (bot *botAll) Process(ctx context.Context, msg messenger.Message) error {
|
||||
func (bot *botAll) Process(ctx context.Context, msg *messenger.Message) error {
|
||||
if err := bot.storage.UpsertUser(ctx, storage.User{ChatID: msg.ChatID, UserID: msg.UserID}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user