summaryrefslogtreecommitdiff
path: root/app/graphql/mutations/snippets/create.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-02-25 09:10:45 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-25 09:10:45 +0000
commitbcfab67c0f33aeda96041f341f92cf0ff1e062d3 (patch)
tree2d3a9c5ccd7693112ed48d410a9a940f6a1fa8de /app/graphql/mutations/snippets/create.rb
parentc1ccb69fc9b1f07a00d3310f5fbd2e4622db9482 (diff)
downloadgitlab-ce-bcfab67c0f33aeda96041f341f92cf0ff1e062d3.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/graphql/mutations/snippets/create.rb')
-rw-r--r--app/graphql/mutations/snippets/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/mutations/snippets/create.rb b/app/graphql/mutations/snippets/create.rb
index 73eac9f0f3b..7f2dd448b8b 100644
--- a/app/graphql/mutations/snippets/create.rb
+++ b/app/graphql/mutations/snippets/create.rb
@@ -56,7 +56,7 @@ module Mutations
end
snippet = service_response.payload[:snippet]
- with_spam_action_fields(snippet) do
+ with_spam_action_response_fields(snippet) do
{
snippet: service_response.success? ? snippet : nil,
errors: errors_on_object(snippet)