mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix panic when migrating a repo from GitHub with issues (#25246)
Fix #25245. Regression of #23946.
This commit is contained in:
		@@ -487,7 +487,7 @@ func (g *GithubDownloaderV3) GetIssues(page, perPage int) ([]*base.Issue, bool,
 | 
				
			|||||||
			Updated:      issue.GetUpdatedAt().Time,
 | 
								Updated:      issue.GetUpdatedAt().Time,
 | 
				
			||||||
			Labels:       labels,
 | 
								Labels:       labels,
 | 
				
			||||||
			Reactions:    reactions,
 | 
								Reactions:    reactions,
 | 
				
			||||||
			Closed:       &issue.ClosedAt.Time,
 | 
								Closed:       issue.ClosedAt.GetTime(),
 | 
				
			||||||
			IsLocked:     issue.GetLocked(),
 | 
								IsLocked:     issue.GetLocked(),
 | 
				
			||||||
			Assignees:    assignees,
 | 
								Assignees:    assignees,
 | 
				
			||||||
			ForeignIndex: int64(*issue.Number),
 | 
								ForeignIndex: int64(*issue.Number),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user