From c1f33db2f2fa557afefc29fc5427f7a0a5835e3a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 11 Nov 2019 20:26:13 +0100 Subject: github: follow API changes https://developer.github.com/v4/changelog/2019-06-04-schema-changes/ --- bridge/github/import_query.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge/github/import_query.go') diff --git a/bridge/github/import_query.go b/bridge/github/import_query.go index 62d3227b..f5cad299 100644 --- a/bridge/github/import_query.go +++ b/bridge/github/import_query.go @@ -102,13 +102,13 @@ type issueTimeline struct { Body githubv4.String Url githubv4.URI - Timeline struct { + TimelineItems struct { Edges []struct { Cursor githubv4.String Node timelineItem } PageInfo pageInfo - } `graphql:"timeline(first: $timelineFirst, after: $timelineAfter)"` + } `graphql:"timelineItems(first: $timelineFirst, after: $timelineAfter)"` UserContentEdits struct { Nodes []userContentEdit -- cgit