Skip to content

Commit

Permalink
Add phone number info to logout command feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alufers committed Sep 21, 2023
1 parent b6e8a16 commit 2f49ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paczkobot/inpost_logout_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (f *InpostLogoutCommand) Execute(ctx context.Context, args *tghelpers.Comma
return fmt.Errorf("failed to delete existing credentials: %v", err)
}

msg := tgbotapi.NewMessage(args.ChatID, "Successfully logged out from Inpost")
msg := tgbotapi.NewMessage(args.ChatID, fmt.Sprintf("Successfully logged out from Inpost account %s", phoneNumber))
if _, err := f.App.Bot.Send(msg); err != nil {
return fmt.Errorf("failed to send message: %v", err)
}
Expand Down

0 comments on commit 2f49ec5

Please sign in to comment.