fixed lint + fmt
This commit is contained in:
@ -22,6 +22,7 @@ func (Team) TableName() string {
|
||||
return "teams"
|
||||
}
|
||||
|
||||
// AfterLoad gets the created by user object
|
||||
func (t *Team) AfterLoad() {
|
||||
// Get the owner
|
||||
*t.CreatedBy, _, _ = GetUserByID(t.CreatedByID)
|
||||
@ -94,4 +95,4 @@ func (t *Team) Empty() {
|
||||
t.Name = ""
|
||||
t.Description = ""
|
||||
t.Members = []*User{}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user