diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/migrations/gitea.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/migrations/gitea.go b/modules/migrations/gitea.go index 3320a8cb6d..45f324516e 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 { |