Skip to content

Commit 8fa9d9d

Browse files
GiteaBotwolfogre
andauthored
Fix panic when migrating a repo from GitHub with issues (#25246) (#25247)
Backport #25246 by @wolfogre Fix #25245. Regression of #23946. Co-authored-by: Jason Song <[email protected]>
1 parent 21cd5c2 commit 8fa9d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/migrations/github.go

Lines changed: 1 addition & 1 deletion
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)