1
0
Fork 0
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:
John Donaldson 2020-10-28 18:51:04 -04:00
commit 0a72f05d1d

View file

@ -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)
}