summaryrefslogtreecommitdiffstats
path: root/services/issue
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-04-30 21:24:08 +0100
committerGitHub <noreply@github.com>2020-04-30 21:24:08 +0100
commit4974b7c120102b49548197e58c7a58181ba52170 (patch)
treea7769043d9c541bfd1af688ffa7fa76b75b99223 /services/issue
parentab69b9b1a60a83cf2b5d6c021da0cb35540df10f (diff)
downloadgitea-4974b7c120102b49548197e58c7a58181ba52170.tar.gz
gitea-4974b7c120102b49548197e58c7a58181ba52170.zip
Fix spelling mistake with Rewiew (#11262)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'services/issue')
-rw-r--r--services/issue/assignee.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/issue/assignee.go b/services/issue/assignee.go
index 9711de4c60..d63c7bf032 100644
--- a/services/issue/assignee.go
+++ b/services/issue/assignee.go
@@ -56,9 +56,9 @@ func ToggleAssignee(issue *models.Issue, doer *models.User, assigneeID int64) (r
func ReviewRequest(issue *models.Issue, doer *models.User, reviewer *models.User, isAdd bool) (err error) {
var comment *models.Comment
if isAdd {
- comment, err = models.AddRewiewRequest(issue, reviewer, doer)
+ comment, err = models.AddReviewRequest(issue, reviewer, doer)
} else {
- comment, err = models.RemoveRewiewRequest(issue, reviewer, doer)
+ comment, err = models.RemoveReviewRequest(issue, reviewer, doer)
}
if err != nil {
@@ -66,7 +66,7 @@ func ReviewRequest(issue *models.Issue, doer *models.User, reviewer *models.User
}
if comment != nil {
- notification.NotifyPullRewiewRequest(doer, issue, reviewer, isAdd, comment)
+ notification.NotifyPullReviewRequest(doer, issue, reviewer, isAdd, comment)
}
return nil