diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-15 03:08:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-15 03:08:48 +0300 |
commit | b69f406585ff64b1c5140ebba775cc754fabb358 (patch) | |
tree | 9af7dfeb0c3f0f8db189a6e18c6be398a7729e2d /app/services/concerns/spam_check_methods.rb | |
parent | 866ca4e49ff74ffadf8e6f6ff663a168489c2aba (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/concerns/spam_check_methods.rb')
-rw-r--r-- | app/services/concerns/spam_check_methods.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/concerns/spam_check_methods.rb b/app/services/concerns/spam_check_methods.rb index 62836881099..695bdf92b49 100644 --- a/app/services/concerns/spam_check_methods.rb +++ b/app/services/concerns/spam_check_methods.rb @@ -2,7 +2,7 @@ # SpamCheckMethods # -# Provide helper methods for checking if a given target spammable object has +# Provide helper methods for checking if a given spammable object has # potential spam data. # # Dependencies: @@ -18,13 +18,13 @@ module SpamCheckMethods end # rubocop:enable Gitlab/ModuleWithInstanceVariables - # In order to be proceed to the spam check process, @target has to be + # In order to be proceed to the spam check process, @spammable has to be # a dirty instance, which means it should be already assigned with the new # attribute values. # rubocop:disable Gitlab/ModuleWithInstanceVariables def spam_check(spammable, user) Spam::SpamCheckService.new( - target: spammable, + spammable: spammable, request: @request ).execute( api: @api, |