Skip to content

Commit

Permalink
rename function appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanhashmi09 committed Jun 21, 2024
1 parent 07e9b09 commit 22cfcd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/analytics_server/mhq/api/teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def fetch_team_repos(team_id: str):

team_repos_service = get_repository_service()
team_org_repos: List[OrgRepo] = team_repos_service.get_team_repos(team)
team_repos: List[TeamRepos] = team_repos_service.get_team_repos_by_team_id(team)
team_repos: List[TeamRepos] = team_repos_service.get_team_repos_by_team(team)
team_id_team_repos_map: Dict[str, TeamRepos] = {
str(repo.org_repo_id): repo for repo in team_repos
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(
def get_team_repos(self, team: Team) -> List[OrgRepo]:
return self._code_repo_service.get_team_repos(team_id=str(team.id))

def get_team_repos_by_team_id(self, team: Team) -> List[TeamRepos]:
def get_team_repos_by_team(self, team: Team) -> List[TeamRepos]:
return self._code_repo_service.get_team_repos_by_team_id(team_id=str(team.id))

def update_team_repos(
Expand Down

0 comments on commit 22cfcd1

Please sign in to comment.