mirror of
https://github.com/go-gitea/gitea
synced 2024-11-10 17:25:54 +01:00
Update closed issues stats for repository
This commit is contained in:
parent
469cbc8813
commit
c850c01007
@ -130,6 +130,12 @@ func updateIssuesCommit(repoUserName, repoName string, commits []*base.PushCommi
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
issue.Repo.NumClosedIssues++
|
||||||
|
|
||||||
|
if err = UpdateRepository(issue.Repo); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
if err = ChangeMilestoneIssueStats(issue); err != nil {
|
if err = ChangeMilestoneIssueStats(issue); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user