Skip to content

Commit

Permalink
cron-job-added
Browse files Browse the repository at this point in the history
  • Loading branch information
golanguzb71 committed Oct 27, 2024
1 parent 724086c commit b3f5d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth-service/internal/telegram/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func handleContact(message *tgbotapi.Message) {
}
user, err := userClient.GetUserByChatIdOrPhone(nil, &phoneNumber, nil)

if err != nil || user == nil {
if err != nil && user == nil {
if lastName == "" {
lastName = "********"
}
Expand Down

0 comments on commit b3f5d89

Please sign in to comment.