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

Run `rubocop -a` on lib/api

Aaron Contreras51c134db9555
diff --git a/lib/api/helpers/attachment_renderer.rb b/lib/api/helpers/attachment_renderer.rb
index 3026162092c..4df9ebed297 100644
--- a/lib/api/helpers/attachment_renderer.rb
+++ b/lib/api/helpers/attachment_renderer.rb
@@ -46,7 +46,6 @@ module API
}
end
-
##
# Render an attachment, either by redirecting
# to the external storage,
diff --git a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb
index 53b7aa5a184..69f6c1ed92f 100644
--- a/lib/api/v3/work_packages/schema/work_package_schema_representer.rb
+++ b/lib/api/v3/work_packages/schema/work_package_schema_representer.rb
@@ -39,7 +39,8 @@ module API
include API::Caching::CachedRepresenter
cached_representer key_parts: %i[project type],
dependencies: -> {
- all_permissions_granted_to_user_under_project + [Setting.work_package_done_ratio, Setting.plugin_openproject_backlogs]
+ all_permissions_granted_to_user_under_project + [Setting.work_package_done_ratio,
+ Setting.plugin_openproject_backlogs]
}
custom_field_injector type: :schema_representer