diff options
author | zeripath <art27@cantab.net> | 2020-04-30 21:24:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 21:24:08 +0100 |
commit | 4974b7c120102b49548197e58c7a58181ba52170 (patch) | |
tree | a7769043d9c541bfd1af688ffa7fa76b75b99223 /modules/notification/base | |
parent | ab69b9b1a60a83cf2b5d6c021da0cb35540df10f (diff) | |
download | gitea-4974b7c120102b49548197e58c7a58181ba52170.tar.gz gitea-4974b7c120102b49548197e58c7a58181ba52170.zip |
Fix spelling mistake with Rewiew (#11262)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/notification/base')
-rw-r--r-- | modules/notification/base/notifier.go | 2 | ||||
-rw-r--r-- | modules/notification/base/null.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/notification/base/notifier.go b/modules/notification/base/notifier.go index 43b68b603c..0b3e1173b3 100644 --- a/modules/notification/base/notifier.go +++ b/modules/notification/base/notifier.go @@ -24,7 +24,7 @@ type Notifier interface { NotifyIssueChangeStatus(*models.User, *models.Issue, *models.Comment, bool) NotifyIssueChangeMilestone(doer *models.User, issue *models.Issue, oldMilestoneID int64) NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, assignee *models.User, removed bool, comment *models.Comment) - NotifyPullRewiewRequest(doer *models.User, issue *models.Issue, reviewer *models.User, isRequest bool, comment *models.Comment) + NotifyPullReviewRequest(doer *models.User, issue *models.Issue, reviewer *models.User, isRequest bool, comment *models.Comment) NotifyIssueChangeContent(doer *models.User, issue *models.Issue, oldContent string) NotifyIssueClearLabels(doer *models.User, issue *models.Issue) NotifyIssueChangeTitle(doer *models.User, issue *models.Issue, oldTitle string) diff --git a/modules/notification/base/null.go b/modules/notification/base/null.go index 4b5efd80bb..d2fd51d713 100644 --- a/modules/notification/base/null.go +++ b/modules/notification/base/null.go @@ -86,8 +86,8 @@ func (*NullNotifier) NotifyIssueChangeContent(doer *models.User, issue *models.I func (*NullNotifier) NotifyIssueChangeAssignee(doer *models.User, issue *models.Issue, assignee *models.User, removed bool, comment *models.Comment) { } -// NotifyPullRewiewRequest places a place holder function -func (*NullNotifier) NotifyPullRewiewRequest(doer *models.User, issue *models.Issue, reviewer *models.User, isRequest bool, comment *models.Comment) { +// NotifyPullReviewRequest places a place holder function +func (*NullNotifier) NotifyPullReviewRequest(doer *models.User, issue *models.Issue, reviewer *models.User, isRequest bool, comment *models.Comment) { } // NotifyIssueClearLabels places a place holder function |