fix bug on migrating milestone from github (#7665)
This commit is contained in:
parent
ed3d124552
commit
a94ae7acb0
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ func (g *GiteaLocalUploader) CreateMilestones(milestones ...*base.Milestone) err
|
||||||
RepoID: g.repo.ID,
|
RepoID: g.repo.ID,
|
||||||
Name: milestone.Title,
|
Name: milestone.Title,
|
||||||
Content: milestone.Description,
|
Content: milestone.Description,
|
||||||
IsClosed: milestone.State == "close",
|
IsClosed: milestone.State == "closed",
|
||||||
DeadlineUnix: deadline,
|
DeadlineUnix: deadline,
|
||||||
}
|
}
|
||||||
if ms.IsClosed && milestone.Closed != nil {
|
if ms.IsClosed && milestone.Closed != nil {
|
||||||
|
|
Loading…
Reference in a new issue