generated from VLADIMIR/template
fix names
This commit is contained in:
@@ -38,7 +38,7 @@ func (s *Service) Create(ctx context.Context, gameID, teamID int, password strin
|
||||
return nil, ErrInvalidReview
|
||||
}
|
||||
team, err := s.teams.GetTeamByID(ctx, teamID)
|
||||
if err != nil || team.GameId != gameID || team.Password != password || team.ParticipationStatus == "cancelled" {
|
||||
if err != nil || team.GameID != gameID || team.Password != password || team.ParticipationStatus == "cancelled" {
|
||||
return nil, teams_repo.ErrTeamNotFound
|
||||
}
|
||||
game, err := s.games.GetGameByID(ctx, gameID)
|
||||
|
||||
Reference in New Issue
Block a user