mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
* Use same name as other structs. * Sync with normal forms. * Edit description with API. * Workaround for nil value.
This commit is contained in:
@ -37,8 +37,8 @@ type User struct {
|
||||
Location string `json:"location"`
|
||||
// the user's website
|
||||
Website string `json:"website"`
|
||||
// the user's biography
|
||||
Description string `json:"bio"`
|
||||
// the user's description
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
// MarshalJSON implements the json.Marshaler interface for User, adding field(s) for backward compatibility
|
||||
|
Reference in New Issue
Block a user