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

Optimized FilesInfoQuery

Andreas Pfohl25c24685cecc
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/files_info_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/files_info_query.rb
index c28e35d14b4..9fe5ac3ddef 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/files_info_query.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/files_info_query.rb
@@ -99,7 +99,7 @@ module Storages::Peripherals::StorageInteraction::Nextcloud
def create_storage_file_infos
->(response_object) do
ServiceResult.success(
- result: response_object.ocs.data.to_h.map do |key, value|
+ result: response_object.ocs.data.each_pair.map do |key, value|
if value.statuscode == 200
::Storages::StorageFileInfo.new(
status: value.status,