This commit is contained in:
2023-08-13 21:13:17 +07:00
parent bdc89bea14
commit 6ce7cee5bc
5 changed files with 20 additions and 8 deletions
+1 -1
View File
@@ -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
}