summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/mirror/mirror.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/mirror/mirror.go b/services/mirror/mirror.go
index 7fc6e97b46..28b2e2a127 100644
--- a/services/mirror/mirror.go
+++ b/services/mirror/mirror.go
@@ -410,7 +410,7 @@ func syncMirror(repoID string) {
theCommits.CompareURL = m.Repo.ComposeCompareURL(oldCommitID, newCommitID)
- notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, models.ListToPushCommits(commits))
+ notification.NotifySyncPushCommits(m.Repo.MustOwner(), m.Repo, result.refName, oldCommitID, newCommitID, theCommits)
}
// Get latest commit date and update to current repository updated time