Skip to content

Commit 65a52e6

Browse files
wolfogreGiteaBot
authored andcommitted
Fix panic when migrating a repo from GitHub with issues (go-gitea#25246)
Fix go-gitea#25245. Regression of go-gitea#23946.
1 parent 2294804 commit 65a52e6

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)