Skip to content

Commit

Permalink
Fix panic when migrating a repo from GitHub with issues (go-gitea#25246)
Browse files Browse the repository at this point in the history
Fix go-gitea#25245. Regression of go-gitea#23946.
  • Loading branch information
wolfogre authored and GiteaBot committed Jun 14, 2023
1 parent 2294804 commit 65a52e6
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 65a52e6

Please sign in to comment.