From f569e6aacc0690e7b1bebf33a10a8e0d154937df Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Thu, 13 Sep 2018 12:20:28 +0200 Subject: operations: return a more convenient array of result for label changes --- graphql/resolvers/mutation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphql') diff --git a/graphql/resolvers/mutation.go b/graphql/resolvers/mutation.go index c0776266..ee79ce6b 100644 --- a/graphql/resolvers/mutation.go +++ b/graphql/resolvers/mutation.go @@ -89,7 +89,7 @@ func (r mutationResolver) ChangeLabels(ctx context.Context, repoRef *string, pre return bug.Snapshot{}, err } - err = b.ChangeLabels(nil, added, removed) + _, err = b.ChangeLabels(added, removed) if err != nil { return bug.Snapshot{}, err } -- cgit