mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-17 04:14:49 -07:00
Merge branch 'main' of https://github.com/dirtbags/moth into remove_moth_devel
This commit is contained in:
commit
0a72f05d1d
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ func (mh *MothRequestHandler) Register(teamName string) error {
|
|||
if teamName == "" {
|
||||
return fmt.Errorf("Empty team name")
|
||||
}
|
||||
mh.State.LogEvent("register", mh.participantID, mh.teamID, "", 0)
|
||||
return mh.State.SetTeamName(mh.teamID, teamName)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue