Minor fix
This commit is contained in:
parent
7d4c9c5ab9
commit
08c84f57d3
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func GetGP(update tgbotapi.Update, bot *tgbotapi.BotAPI) {
|
|||
for _, gaypointInfo := range gps {
|
||||
errorGettingUser, currentUser := botIO.GetUserByID(tgbotapi.ChatConfigWithUser{ChatID: update.Message.Chat.ID, UserID: gaypointInfo.userID}, bot)
|
||||
if errorGettingUser {
|
||||
log.Error().Int64("user", update.Message.ReplyToMessage.From.ID).Int64("chat", update.Message.Chat.ID).Msg("error getting details for user")
|
||||
log.Error().Int64("user", update.Message.From.ID).Int64("chat", update.Message.Chat.ID).Msg("error getting details for user")
|
||||
continue
|
||||
}
|
||||
currentName := currentUser.User.FirstName
|
||||
|
|
Loading…
Reference in a new issue