summaryrefslogtreecommitdiff
path: root/app/services/award_emojis
diff options
context:
space:
mode:
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)