1
0

Implemented team update method

This commit is contained in:
konrad
2018-07-14 18:29:24 +02:00
committed by kolaente
parent bcbd415529
commit 4cf0cd233c
9 changed files with 96 additions and 10 deletions

View File

@ -0,0 +1,8 @@
package models
// Create implements the create method to assign a user to a team
func (tm *TeamMember) Create(doer *User, id int64) (err error) {
tm.TeamID = id
_, err = x.Insert(tm)
return
}