diff --git a/modules/migrations/gitea.go b/modules/migrations/gitea.go index 3320a8cb6d61..45f324516e8d 100644 --- a/modules/migrations/gitea.go +++ b/modules/migrations/gitea.go @@ -112,7 +112,7 @@ func (g *GiteaLocalUploader) CreateMilestones(milestones ...*base.Milestone) err RepoID: g.repo.ID, Name: milestone.Title, Content: milestone.Description, - IsClosed: milestone.State == "close", + IsClosed: milestone.State == "closed", DeadlineUnix: deadline, } if ms.IsClosed && milestone.Closed != nil {