Skip to content

Commit

Permalink
Fix DebtorsCreditors list api
Browse files Browse the repository at this point in the history
Signed-off-by: Masudur Rahman <[email protected]>
  • Loading branch information
masudur-rahman committed Mar 31, 2024
1 parent 83085bc commit cade01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/handlers/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func ListUsers(ctx telebot.Context) error {
return ctx.Send(err.Error())
}

return ctx.Send(pkg.FormatDocuments(users, "ID", "Name", "Balance"))
return ctx.Send(pkg.FormatDocuments(users, "NickName", "FullName", "Balance"))
}

func NewUser(ctx telebot.Context) error {
Expand Down

0 comments on commit cade01e

Please sign in to comment.