summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-11-01 10:09:16 +0800
committerGitHub <noreply@github.com>2020-10-31 22:09:16 -0400
commitf070249df49cec29ca953678e76a148de484c67c (patch)
treebec216c532d7f41620b0c39db08a3a8f3b19ab9a /modules
parentfe458ce877f520cc7f20116db4ff2a0536ff319b (diff)
downloadgitea-f070249df49cec29ca953678e76a148de484c67c.tar.gz
gitea-f070249df49cec29ca953678e76a148de484c67c.zip
Fix typo (#13380)
Diffstat (limited to 'modules')
-rw-r--r--modules/notification/action/action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/notification/action/action.go b/modules/notification/action/action.go
index 3c61cceb99..13c2ca81da 100644
--- a/modules/notification/action/action.go
+++ b/modules/notification/action/action.go
@@ -314,7 +314,7 @@ func (a *actionNotifier) NotifySyncDeleteRef(doer *models.User, repo *models.Rep
if err := models.NotifyWatchers(&models.Action{
ActUserID: repo.OwnerID,
ActUser: repo.MustOwner(),
- OpType: models.ActionMirrorSyncCreate,
+ OpType: models.ActionMirrorSyncDelete,
RepoID: repo.ID,
Repo: repo,
IsPrivate: repo.IsPrivate,