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

[#52886] fixed query initialization

Eric Schubert68c14c9520c8
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/file_info_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/file_info_query.rb
index e21304d4c62..379bed8f693 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/file_info_query.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/file_info_query.rb
@@ -40,6 +40,7 @@ module Storages
end
def initialize(storage)
+ @storage = storage
@delegate = Internal::DriveItemQuery.new(storage)
end
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/open_file_link_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/open_file_link_query.rb
index 57bd5c8303e..1c5f523f3b3 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/open_file_link_query.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/open_file_link_query.rb
@@ -40,6 +40,7 @@ module Storages
end
def initialize(storage)
+ @storage = storage
@delegate = Internal::DriveItemQuery.new(storage)
end