diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-17 19:05:49 +0300 |
commit | 43a25d93ebdabea52f99b05e15b06250cd8f07d7 (patch) | |
tree | dceebdc68925362117480a5d672bcff122fb625b /app/serializers/linked_issue_entity.rb | |
parent | 20c84b99005abd1c82101dfeff264ac50d2df211 (diff) |
Add latest changes from gitlab-org/gitlab@16-0-stable-eev16.0.0-rc42
Diffstat (limited to 'app/serializers/linked_issue_entity.rb')
-rw-r--r-- | app/serializers/linked_issue_entity.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/serializers/linked_issue_entity.rb b/app/serializers/linked_issue_entity.rb index 4a28213fbac..9f24b465248 100644 --- a/app/serializers/linked_issue_entity.rb +++ b/app/serializers/linked_issue_entity.rb @@ -7,7 +7,7 @@ class LinkedIssueEntity < Grape::Entity item.try(:upcase) end - expose :id, :confidential, :title + expose :id, :iid, :confidential, :title expose :assignees, using: UserEntity @@ -26,9 +26,9 @@ class LinkedIssueEntity < Grape::Entity end expose :issue_type, - as: :type, - format_with: :upcase, - documentation: { type: "String", desc: "One of #{::WorkItems::Type.base_types.keys.map(&:upcase)}" } + as: :type, + format_with: :upcase, + documentation: { type: "String", desc: "One of #{::WorkItems::Type.base_types.keys.map(&:upcase)}" } expose :relation_path |