]> source.dussan.org Git - gitea.git/commitdiff
Fix typo (#13380)
authorLunny Xiao <xiaolunwen@gmail.com>
Sun, 1 Nov 2020 02:09:16 +0000 (10:09 +0800)
committerGitHub <noreply@github.com>
Sun, 1 Nov 2020 02:09:16 +0000 (22:09 -0400)
modules/notification/action/action.go

index 3c61cceb99f054070513d74d1bcd1599e4479c5a..13c2ca81daa0cc5a31789a83f38b13b2aa57ee9f 100644 (file)
@@ -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,