aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import_query.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-11 20:26:13 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-11 20:26:13 +0100
commitc1f33db2f2fa557afefc29fc5427f7a0a5835e3a (patch)
tree0853693bff87b8abdf2f1ad7b9aa63046aaaf331 /bridge/github/import_query.go
parent6a1c8c4dd45c8602e67d6ccbb51165a3c5b073d2 (diff)
downloadgit-bug-c1f33db2f2fa557afefc29fc5427f7a0a5835e3a.tar.gz
github: follow API changes
https://developer.github.com/v4/changelog/2019-06-04-schema-changes/
Diffstat (limited to 'bridge/github/import_query.go')
-rw-r--r--bridge/github/import_query.go4
1 files changed, 2 insertions, 2 deletions
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