Skip to content

Commit

Permalink
fix bug on migrating milestone from github (#7665) (#7666)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and techknowlogick committed Jul 29, 2019
1 parent 1e6d2e4 commit d4044b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/migrations/gitea.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d4044b9

Please sign in to comment.