From 4dee08a6b4d3ba413ddcd6a8bb3e581b287dcb5d Mon Sep 17 00:00:00 2001 From: successgo Date: Mon, 22 Jun 2020 23:21:11 +0800 Subject: Fix typo (#12013) * Fix typo of MSSQL * Fix typo: validates * Fix typo * fix comment with space Co-authored-by: techknowlogick --- models/org.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/org.go') diff --git a/models/org.go b/models/org.go index 58afc5cb59..9fa213e17e 100644 --- a/models/org.go +++ b/models/org.go @@ -717,7 +717,7 @@ func (org *User) getUserTeamIDs(e Engine, userID int64) ([]int64, error) { Find(&teamIDs) } -// TeamsWithAccessToRepo returns all teamsthat have given access level to the repository. +// TeamsWithAccessToRepo returns all teams that have given access level to the repository. func (org *User) TeamsWithAccessToRepo(repoID int64, mode AccessMode) ([]*Team, error) { return GetTeamsWithAccessToRepo(org.ID, repoID, mode) } -- cgit v1.2.3