mirror of https://github.com/dirtbags/moth.git
Merge branch 'main' of https://github.com/dirtbags/moth into remove_moth_devel
This commit is contained in:
commit
0a72f05d1d
|
@ -169,6 +169,7 @@ func (mh *MothRequestHandler) Register(teamName string) error {
|
||||||
if teamName == "" {
|
if teamName == "" {
|
||||||
return fmt.Errorf("Empty team name")
|
return fmt.Errorf("Empty team name")
|
||||||
}
|
}
|
||||||
|
mh.State.LogEvent("register", mh.participantID, mh.teamID, "", 0)
|
||||||
return mh.State.SetTeamName(mh.teamID, teamName)
|
return mh.State.SetTeamName(mh.teamID, teamName)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue