summaryrefslogtreecommitdiffstats
path: root/models/organization
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-07-12 17:32:37 -0400
committerGitHub <noreply@github.com>2022-07-12 23:32:37 +0200
commitd29d6d1991496cc688e9418db4960ca945fd9d6b (patch)
tree878dcc8a2c8621f9328d5093c6003d664d6fe9ed /models/organization
parent966e7bdc9b875abb7192cd572beec40123a815da (diff)
downloadgitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.tar.gz
gitea-d29d6d1991496cc688e9418db4960ca945fd9d6b.zip
Fix various typos (#20338)
* Fix various typos Found via `codespell -q 3 -S ./options/locale,./options/license,./public/vendor -L actived,allways,attachements,ba,befores,commiter,pullrequest,pullrequests,readby,splitted,te,unknwon` Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'models/organization')
-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,