summaryrefslogtreecommitdiff
path: root/app/graphql/types/mutation_type.rb
diff options
context:
space:
mode:
authorcharlieablett <cablett@gitlab.com>2019-06-26 22:42:25 +1200
committercharlieablett <cablett@gitlab.com>2019-07-03 22:53:13 +1200
commita11fe5de4408595cc8b2b091cbbb76e423c98f34 (patch)
tree4e1331ee717b7f1d3e6b6810c9005546f22c7e8a /app/graphql/types/mutation_type.rb
parentf4890d90782ad42a802b89c2a17c83bf9fb9d123 (diff)
downloadgitlab-ce-a11fe5de4408595cc8b2b091cbbb76e423c98f34.tar.gz
Wrap proc properly in gitaly call counts
- Add `calls_gitaly: true` to some fields missing (hey, it works!) - Clarify proc wrapping - Add kwargs argument to `mount_mutation`
Diffstat (limited to 'app/graphql/types/mutation_type.rb')
-rw-r--r--app/graphql/types/mutation_type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/types/mutation_type.rb b/app/graphql/types/mutation_type.rb
index 6ef1d816b7c..bc5fb709522 100644
--- a/app/graphql/types/mutation_type.rb
+++ b/app/graphql/types/mutation_type.rb
@@ -9,6 +9,6 @@ module Types
mount_mutation Mutations::AwardEmojis::Add
mount_mutation Mutations::AwardEmojis::Remove
mount_mutation Mutations::AwardEmojis::Toggle
- mount_mutation Mutations::MergeRequests::SetWip
+ mount_mutation Mutations::MergeRequests::SetWip, calls_gitaly: true
end
end