Change all json fields to snake_case

This commit is contained in:
kolaente 2020-04-12 22:48:46 +02:00
parent 0bfb3a4709
commit fb8ac92abf
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
5 changed files with 14 additions and 14 deletions

View file

@ -35,7 +35,7 @@ type Team struct {
CreatedByID int64 `xorm:"int(11) not null INDEX" json:"-"`
// The user who created this team.
CreatedBy *user.User `xorm:"-" json:"createdBy"`
CreatedBy *user.User `xorm:"-" json:"created_by"`
// An array of all members in this team.
Members []*TeamUser `xorm:"-" json:"members"`