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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-29 00:08:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-29 00:08:22 +0300
commitd7b136d5471b5925ff784f78b9c11ec63c2a3549 (patch)
tree6c4417fb367459613e84a2d34625abccd13e6405 /app/services/award_emojis
parent1ec60cf53bc498b12c597ff0d91434a1bdb7cba9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/award_emojis')
-rw-r--r--app/services/award_emojis/destroy_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/award_emojis/destroy_service.rb b/app/services/award_emojis/destroy_service.rb
index a61a7911a9d..cfd194262f9 100644
--- a/app/services/award_emojis/destroy_service.rb
+++ b/app/services/award_emojis/destroy_service.rb
@@ -13,7 +13,7 @@ module AwardEmojis
return error("User has not awarded emoji of type #{name} on the awardable", status: :forbidden)
end
- award = awards.destroy_all.first # rubocop: disable DestroyAll
+ award = awards.destroy_all.first # rubocop: disable Cop/DestroyAll
after_destroy(award)
success(award: award)