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

Disable Rubocop complain about OpenStruct usage.

Pavel Balashou089a0d7032c7
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/upload_link_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/upload_link_query.rb
index 747359e41b5..3d36ebceb74 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/upload_link_query.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/upload_link_query.rb
@@ -74,7 +74,7 @@ module Storages::Peripherals::StorageInteraction::Nextcloud
# The nextcloud API returns a successful response with empty body if the authorization is missing or expired
if response.body.present?
ServiceResult.success(
- result: JSON.parse(response.body, object_class: OpenStruct)
+ result: JSON.parse(response.body, object_class: OpenStruct) # rubocop:disable Style/OpenStructUse
)
else
Util.error(:not_authorized, 'Outbound request not authorized!')