Fix import bug

Amine Hilaly created

Change summary

bridge/github/import.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

bridge/github/import.go 🔗

@@ -324,7 +324,7 @@ func (gi *githubImporter) ensureTimelineComment(repo *cache.RepoCache, b *cache.
 			}
 		}
 	} else {
-		for i, edit := range item.UserContentEdits.Nodes {
+		for i, edit := range edits {
 			if i == 0 && target != "" {
 				// The first edit in the github result is the comment creation itself, we already have that
 				continue