aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/import_query.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-11 21:00:57 +0100
committerGitHub <noreply@github.com>2019-11-11 21:00:57 +0100
commit2367029124afb363bb42b9089f43e62bc8e04ae3 (patch)
tree0853693bff87b8abdf2f1ad7b9aa63046aaaf331 /bridge/github/import_query.go
parent6a1c8c4dd45c8602e67d6ccbb51165a3c5b073d2 (diff)
parentc1f33db2f2fa557afefc29fc5427f7a0a5835e3a (diff)
downloadgit-bug-2367029124afb363bb42b9089f43e62bc8e04ae3.tar.gz
Merge pull request #248 from MichaelMure/github-deprecated
github: follow API 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