diff options
author | Michael Muré <batolettre@gmail.com> | 2018-09-13 12:20:28 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-09-13 12:20:28 +0200 |
commit | f569e6aacc0690e7b1bebf33a10a8e0d154937df (patch) | |
tree | c17ac2201b7abbc6889137d968c8450dc3099f9a /graphql/resolvers | |
parent | 8a25c63d6972d9168dcb3599066076bdb84f8790 (diff) | |
download | git-bug-f569e6aacc0690e7b1bebf33a10a8e0d154937df.tar.gz |
operations: return a more convenient array of result for label changes
Diffstat (limited to 'graphql/resolvers')
-rw-r--r-- | graphql/resolvers/mutation.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |