diff options
Diffstat (limited to 'app/services/award_emojis/add_service.rb')
-rw-r--r-- | app/services/award_emojis/add_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/award_emojis/add_service.rb b/app/services/award_emojis/add_service.rb index 065ef9dc708..b5aa8f920ff 100644 --- a/app/services/award_emojis/add_service.rb +++ b/app/services/award_emojis/add_service.rb @@ -6,11 +6,11 @@ module AwardEmojis def execute unless awardable.user_can_award?(current_user) - return error('User cannot award emoji to awardable', status: :forbidden) + return error('User cannot add emoji reactions to awardable', status: :forbidden) end unless awardable.emoji_awardable? - return error('Awardable cannot be awarded emoji', status: :unprocessable_entity) + return error('Awardable cannot add emoji reactions', status: :unprocessable_entity) end award = awardable.award_emoji.create(name: name, user: current_user) |