return leagues.get(teamId);
}
public Map<String, List<League>> getLeagueByTeams(Region region, String... teamIds) throws RiotApiException {
Objects.requireNonNull(region);
Objects.requireNonNull(teamIds);
<BUG>return LeagueApi.getLeagueByTeams(getConfig(), region, Convert.joinString(",", teamIds));

}</BUG>
public List<League> getLeagueEntryBySummoner(Region region, String summonerId) throws RiotApiException {
Objects.requireNonNull(region);

return leagues.get(teamId);
}
public Map<String, List<League>> getLeagueByTeams(Region region, String... teamIds) throws RiotApiException {
Objects.requireNonNull(region);
Objects.requireNonNull(teamIds);
ApiMethod method = new GetLeagueByTeams(getConfig(), region, Convert.joinString(",", teamIds));
return endpointManager.callMethodAndReturnDto(method);
}
public List<League> getLeagueEntryBySummoner(Region region, String summonerId) throws RiotApiException {
Objects.requireNonNull(region);
