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

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