summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/issue.go
diff options
context:
space:
mode:
authorluzpaz <luzpaz@users.noreply.github.com>2022-01-10 04:32:37 -0500
committerGitHub <noreply@github.com>2022-01-10 17:32:37 +0800
commit8c647bf0f6b19fe666c645ec16010d07bfe85a63 (patch)
treeeaa322e1244591b00a36b7d79ce416bd1bd932af /routers/web/repo/issue.go
parent242dddfcb7cfab1d21c1658828d94f603809a5c7 (diff)
downloadgitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.tar.gz
gitea-8c647bf0f6b19fe666c645ec16010d07bfe85a63.zip
Fix various typos (#18219)
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'routers/web/repo/issue.go')
-rw-r--r--routers/web/repo/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index a28b37c580..ee94e0e6d8 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -1024,7 +1024,7 @@ func NewIssuePost(ctx *context.Context) {
}
}
-// roleDescriptor returns the Role Decriptor for a comment in/with the given repo, poster and issue
+// roleDescriptor returns the Role Descriptor for a comment in/with the given repo, poster and issue
func roleDescriptor(repo *repo_model.Repository, poster *user_model.User, issue *models.Issue) (models.RoleDescriptor, error) {
perm, err := models.GetUserRepoPermission(repo, poster)
if err != nil {