|
|
@ -314,7 +314,7 @@ func (a *actionNotifier) NotifySyncDeleteRef(doer *models.User, repo *models.Rep
|
|
|
|
if err := models.NotifyWatchers(&models.Action{
|
|
|
|
if err := models.NotifyWatchers(&models.Action{
|
|
|
|
ActUserID: repo.OwnerID,
|
|
|
|
ActUserID: repo.OwnerID,
|
|
|
|
ActUser: repo.MustOwner(),
|
|
|
|
ActUser: repo.MustOwner(),
|
|
|
|
OpType: models.ActionMirrorSyncCreate,
|
|
|
|
OpType: models.ActionMirrorSyncDelete,
|
|
|
|
RepoID: repo.ID,
|
|
|
|
RepoID: repo.ID,
|
|
|
|
Repo: repo,
|
|
|
|
Repo: repo,
|
|
|
|
IsPrivate: repo.IsPrivate,
|
|
|
|
IsPrivate: repo.IsPrivate,
|
|
|
|