summaryrefslogtreecommitdiffstats
path: root/models/organization/team_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/organization/team_repo.go')
-rw-r--r--models/organization/team_repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/organization/team_repo.go b/models/organization/team_repo.go
index 717d754c40..fb3f267f81 100644
--- a/models/organization/team_repo.go
+++ b/models/organization/team_repo.go
@@ -55,7 +55,7 @@ func GetTeamRepositories(ctx context.Context, opts *SearchTeamRepoOptions) ([]*r
Find(&repos)
}
-// AddTeamRepo addes a repo for an organization's team
+// AddTeamRepo adds a repo for an organization's team
func AddTeamRepo(ctx context.Context, orgID, teamID, repoID int64) error {
_, err := db.GetEngine(ctx).Insert(&TeamRepo{
OrgID: orgID,