Fix typos

This commit is contained in:
Vojtěch Káně
2021-02-08 08:59:28 +01:00
parent 4fc9aa50d1
commit e677014d75
4 changed files with 7 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ func (m *Model) GetStats(c context.Context) (Stats, error) {
}
// returns the player's UUID if error is nil
// err = NoSuchEntity if the sessionsCode is incorrect
// err = NoSuchEntity if the sessionCode is incorrect
func (m *Model) RegisterPlayer(playerName string, sessionCode string, c context.Context) (*ent.Player, error) {
tx, err := m.c.BeginTx(c, &sql.TxOptions{
Isolation: sql.LevelRepeatableRead,