From 6451dd2928d7299dbcc3c34b3e6b8a8050f4c796 Mon Sep 17 00:00:00 2001 From: Amine Hilaly Date: Sat, 15 Jun 2019 02:50:09 +0200 Subject: [cache] BugCache: Add set metadata methods [bridge/github] fix add/remove mutation requests [bridge/github] iterator: fix typo --- bridge/github/export_query.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'bridge/github/export_query.go') 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)"` } -- cgit