Add username for Account type in types package
This commit is contained in:
parent
08a409caaf
commit
1c4756c758
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user