From 537eddb97843a3f520fdedcd35f77b08880a4829 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sun, 5 May 2019 14:08:48 +0200 Subject: [PATCH] Fix import bug --- bridge/github/import.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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