aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/export_query.go
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-06-15 02:50:09 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-06-24 21:26:34 +0200
commit6451dd2928d7299dbcc3c34b3e6b8a8050f4c796 (patch)
tree37350fe4003addabf0764c7a7310baa98a636bb4 /bridge/github/export_query.go
parent2f620e65b8edeb761a161cea0dda11eb1cdf8fec (diff)
downloadgit-bug-6451dd2928d7299dbcc3c34b3e6b8a8050f4c796.tar.gz
[cache] BugCache: Add set metadata methods
[bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo
Diffstat (limited to 'bridge/github/export_query.go')
-rw-r--r--bridge/github/export_query.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/bridge/github/export_query.go b/bridge/github/export_query.go
index ff03df34..a527399e 100644
--- a/bridge/github/export_query.go
+++ b/bridge/github/export_query.go
@@ -33,8 +33,13 @@ type updateIssueCommentMutation struct {
IssueComment struct {
ID string `graphql:"id"`
URL string `graphql:"url"`
- } `graphql:"addComment(input:$input)"`
+ } `graphql:"updateIssueComment(input:$input)"`
+}
+
+type removeLabelsFromLabelableMutation struct {
+ AddLabels struct{} `graphql:"removeLabelsFromLabelable(input:$input)"`
}
-type removeLabelsMutation struct {
+type addLabelsToLabelableMutation struct {
+ RemoveLabels struct{} `graphql:"addLabelsToLabelable(input:$input)"`
}