diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-07-29 23:41:22 +0800 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-07-29 16:41:22 +0100 |
commit | a94ae7acb00046c21d1071e151b4e66b16571b6a (patch) | |
tree | 693981d8071ec716a11eb3d23613cb2b02e4fc79 /modules | |
parent | ed3d124552d0df2c364c4aaaab88f54c42167286 (diff) | |
download | gitea-a94ae7acb00046c21d1071e151b4e66b16571b6a.tar.gz gitea-a94ae7acb00046c21d1071e151b4e66b16571b6a.zip |
fix bug on migrating milestone from github (#7665)
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 { |