Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/user_callouts/create.rb')
-rw-r--r--app/graphql/mutations/user_callouts/create.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/graphql/mutations/user_callouts/create.rb b/app/graphql/mutations/user_callouts/create.rb
index 0d3dcacda41..ff6e5cd28dd 100644
--- a/app/graphql/mutations/user_callouts/create.rb
+++ b/app/graphql/mutations/user_callouts/create.rb
@@ -6,13 +6,13 @@ module Mutations
graphql_name 'UserCalloutCreate'
argument :feature_name,
- GraphQL::STRING_TYPE,
+ GraphQL::Types::String,
required: true,
- description: "The feature name you want to dismiss the callout for."
+ description: "Feature name you want to dismiss the callout for."
field :user_callout, Types::UserCalloutType,
null: false,
- description: 'The user callout dismissed.'
+ description: 'User callout dismissed.'
def resolve(feature_name:)
callout = Users::DismissUserCalloutService.new(