Skip to content

Commit

Permalink
Fix panic when migrating a repo from GitHub with issues (#25246)
Browse files Browse the repository at this point in the history
Fix #25245. Regression of #23946.
  • Loading branch information
wolfogre authored Jun 14, 2023
1 parent 020ab3d commit 6348823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/migrations/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 6348823

Please sign in to comment.