Skip to content

Commit 6348823

Browse files
authored
Fix panic when migrating a repo from GitHub with issues (#25246)
Fix #25245. Regression of #23946.
1 parent 020ab3d commit 6348823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/migrations/github.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ func (g *GithubDownloaderV3) GetIssues(page, perPage int) ([]*base.Issue, bool,
487487
Updated: issue.GetUpdatedAt().Time,
488488
Labels: labels,
489489
Reactions: reactions,
490-
Closed: &issue.ClosedAt.Time,
490+
Closed: issue.ClosedAt.GetTime(),
491491
IsLocked: issue.GetLocked(),
492492
Assignees: assignees,
493493
ForeignIndex: int64(*issue.Number),

0 commit comments

Comments
 (0)