Add username for Account type in types package
This commit is contained in:
parent
08a409caaf
commit
1c4756c758
|
@ -11,7 +11,8 @@ type User struct {
|
||||||
// User Account
|
// User Account
|
||||||
type Account struct {
|
type Account struct {
|
||||||
ID uint `json:"id" example:"1"`
|
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 {
|
type Message struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user