Add username for Account type in types package

This commit is contained in:
qowevisa 2024-11-06 19:45:54 +02:00
parent 08a409caaf
commit 1c4756c758

View File

@ -10,8 +10,9 @@ type User struct {
// User Account
type Account struct {
ID uint `json:"id" example:"1"`
Token string `json:"token" example:"Fvs-MnxiEs5dnqMp2mSDIJigPbiIUs6Snk1xxiqPmUc="`
ID uint `json:"id" example:"1"`
Token string `json:"token" example:"Fvs-MnxiEs5dnqMp2mSDIJigPbiIUs6Snk1xxiqPmUc"`
Username string `json:"username" example:"testUser"`
}
type Message struct {