diff options
| author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-25 09:10:45 +0000 |
|---|---|---|
| committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-25 09:10:45 +0000 |
| commit | bcfab67c0f33aeda96041f341f92cf0ff1e062d3 (patch) | |
| tree | 2d3a9c5ccd7693112ed48d410a9a940f6a1fa8de /app/graphql/mutations/snippets/create.rb | |
| parent | c1ccb69fc9b1f07a00d3310f5fbd2e4622db9482 (diff) | |
| download | gitlab-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.rb | 2 |
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) |
