Commit 75cce915 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Fix field defined in camel case

GraphQL no longer maps this to the underscore method / attribute
parent 10b59855
......@@ -5,7 +5,7 @@ module Mutations
class Toggle < Base
graphql_name 'AwardEmojiToggle'
field :toggledOn, GraphQL::BOOLEAN_TYPE, null: false,
field :toggled_on, GraphQL::BOOLEAN_TYPE, null: false,
description: 'Indicates the status of the emoji. ' \
'True if the toggle awarded the emoji, and false if the toggle removed the emoji.'
......
......@@ -19,7 +19,7 @@ module Types
project.available_scanners
end
field :pipelineRun, [::Types::SecurityScannerTypeEnum], null: true,
field :pipeline_run, [::Types::SecurityScannerTypeEnum], null: true,
description: 'List of analyzers which ran successfully in the latest pipeline.',
calls_gitaly: true,
resolve: -> (project, _args, ctx) do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment