Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove TODO

Klaus Zanders20e0b2ee541b
diff --git a/lib/api/v3/shares/share_representer.rb b/lib/api/v3/shares/share_representer.rb
index 098aa402416..ec0fd297f75 100644
--- a/lib/api/v3/shares/share_representer.rb
+++ b/lib/api/v3/shares/share_representer.rb
@@ -39,7 +39,6 @@ module API
associated_resource :project
- # associated_resource :entity # TODO: Check if neeeded, and check how we can use polymorphism here
associated_resource :entity,
getter: ::API::V3::Shares::EntityRepresenterFactory.create_getter_lambda(:entity),
link: ::API::V3::Shares::EntityRepresenterFactory.create_link_lambda(:entity, getter: 'entity_id')