diff --git a/bridge/github/import.go b/bridge/github/import.go index e72a2a45bf2817ffe6ea04ec4415e27d06787cf6..9b9b790e79023f9edf6a72a9cb2e9e059abbd149 100644 --- a/bridge/github/import.go +++ b/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