Fix panic when migrating a repo from GitHub with issues (#25246)

Fix #25245. Regression of #23946.
pull/25219/head^2
Jason Song 1 year ago committed by GitHub
parent 020ab3d4c8
commit 6348823eab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      services/migrations/github.go

@ -487,7 +487,7 @@ func (g *GithubDownloaderV3) GetIssues(page, perPage int) ([]*base.Issue, bool,
Updated: issue.GetUpdatedAt().Time,
Labels: labels,
Reactions: reactions,
Closed: &issue.ClosedAt.Time,
Closed: issue.ClosedAt.GetTime(),
IsLocked: issue.GetLocked(),
Assignees: assignees,
ForeignIndex: int64(*issue.Number),

Loading…
Cancel
Save