feat(api)!: rename User.username to User.name in json
This commit is contained in:
parent
53a48ab4a4
commit
2be1c9550b
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ type Server struct {
|
|||
|
||||
type userResponse struct {
|
||||
ID xid.ID `json:"id"`
|
||||
Username string `json:"username"`
|
||||
Username string `json:"name"`
|
||||
DisplayName *string `json:"display_name"`
|
||||
Bio *string `json:"bio"`
|
||||
AvatarURLs []string `json:"avatar_urls"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue