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

[#50801] Remove 'OCS-APIRequest' => 'true' in UploadLinkQuery till clarified

Dominic Bräunleinbe8e18f4dad8
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 762dcf3fb2e..cbe90cf9d2d 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
@@ -72,8 +72,7 @@ module Storages::Peripherals::StorageInteraction::Nextcloud
{
'Authorization' => "Bearer #{token.access_token}",
'Accept' => 'application/json',
- 'Content-Type' => 'application/json',
- 'OCS-APIRequest' => 'true'
+ 'Content-Type' => 'application/json'
}
)
case response