Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 1c8d12f

Browse files
kolaentelafriks
authored andcommitted
Added user locale setting (#104)
1 parent 142acef commit 1c8d12f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gitea/user.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ type User struct {
2222
Email string `json:"email"`
2323
// URL to the user's avatar
2424
AvatarURL string `json:"avatar_url"`
25+
// User locale
26+
Language string `json:"language"`
2527
}
2628

2729
// MarshalJSON implements the json.Marshaler interface for User, adding field(s) for backward compatibility

0 commit comments

Comments
 (0)