summaryrefslogtreecommitdiffstats
path: root/models/notification.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/notification.go')
-rw-r--r--models/notification.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/notification.go b/models/notification.go
index 0be0144924..8f5d9d01e6 100644
--- a/models/notification.go
+++ b/models/notification.go
@@ -183,7 +183,7 @@ func CreateRepoTransferNotification(doer, newOwner *user_model.User, repo *repo_
// CreateOrUpdateIssueNotifications creates an issue notification
// for each watcher, or updates it if already exists
-// receiverID > 0 just send to reciver, else send to all watcher
+// receiverID > 0 just send to receiver, else send to all watcher
func CreateOrUpdateIssueNotifications(issueID, commentID, notificationAuthorID, receiverID int64) error {
ctx, committer, err := db.TxContext()
if err != nil {