1
0
Fork 0
forked from forgejo/forgejo

Add Pronouns to the User and UserSettings api structs

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2024-02-29 11:10:18 +01:00 committed by hazycora
parent 1c551f923b
commit 66ac657159
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E
2 changed files with 12 additions and 0 deletions

View file

@ -41,6 +41,8 @@ type User struct {
ProhibitLogin bool `json:"prohibit_login"`
// the user's location
Location string `json:"location"`
// the user's pronouns
Pronouns string `json:"pronouns"`
// the user's website
Website string `json:"website"`
// the user's description
@ -71,6 +73,7 @@ type UserSettings struct {
Website string `json:"website"`
Description string `json:"description"`
Location string `json:"location"`
Pronouns string `json:"pronouns"`
Language string `json:"language"`
Theme string `json:"theme"`
DiffViewStyle string `json:"diff_view_style"`