From 4974b7c120102b49548197e58c7a58181ba52170 Mon Sep 17 00:00:00 2001 From: zeripath Date: Thu, 30 Apr 2020 21:24:08 +0100 Subject: Fix spelling mistake with Rewiew (#11262) Signed-off-by: Andrew Thornton --- modules/notification/base/notifier.go | 2 +- modules/notification/base/null.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/notification/base') 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 -- cgit v1.2.3