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
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-01 14:56:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-01 14:56:34 +0300
commitb3904b36e0302c177eec99ee0fa35eeacfbe79f4 (patch)
treec5eecfd3a8034d32134db5125ee605397eca9fed /lib
parentf12386aa9acf19877161bfc77e55572f40509cc4 (diff)
Add latest changes from gitlab-org/security/gitlab@15-5-stable-ee
Diffstat (limited to 'lib')
-rw-r--r--lib/api/award_emoji.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/award_emoji.rb b/lib/api/award_emoji.rb
index fd36b364d56..e419a025508 100644
--- a/lib/api/award_emoji.rb
+++ b/lib/api/award_emoji.rb
@@ -100,7 +100,7 @@ module API
def read_ability(awardable)
case awardable
when Note
- read_ability(awardable.noteable)
+ awardable.issuable_ability_name
when Snippet, ProjectSnippet
:read_snippet
else