1
0

/lists/{listID}/teams now also returns the user right

This commit is contained in:
kolaente
2018-09-17 19:45:18 +02:00
parent cf6577445d
commit 0a06e5a246
2 changed files with 7 additions and 3 deletions

View File

@ -18,3 +18,8 @@ type TeamList struct {
func (TeamList) TableName() string {
return "team_list"
}
type teamWithRight struct {
Team `xorm:"extends"`
Right TeamRight `json:"right"`
}