Skip to content
Snippets Groups Projects
Unverified Commit 75cce915 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu :basketball:
Browse files

Fix field defined in camel case

GraphQL no longer maps this to the underscore method / attribute
parent 10b59855
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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.'
 
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment