diff --git a/modules/migrations/gitea.go b/modules/migrations/gitea.go index 1df824c94..dc395a779 100644 --- a/modules/migrations/gitea.go +++ b/modules/migrations/gitea.go @@ -111,7 +111,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 {