Skip to content

Commit

Permalink
fix bug on migrating milestone from github (#7665)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored and zeripath committed Jul 29, 2019
1 parent ed3d124 commit a94ae7a
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 @@ -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 {
Expand Down

0 comments on commit a94ae7a

Please sign in to comment.