generated from VLADIMIR/template
up
This commit is contained in:
@@ -210,3 +210,8 @@ func (s *TeamService) CheckPresence(ctx context.Context, teamID string, password
|
||||
}
|
||||
return team.GameID, nil
|
||||
}
|
||||
|
||||
// GetScreenTeams returns active registrations for the public screen.
|
||||
func (s *TeamService) GetScreenTeams(ctx context.Context, gameID int) ([]*repos.Team, error) {
|
||||
return s.teamsRepo.GetActiveTeamsByGameID(ctx, gameID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user