diff --git a/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb b/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb index 9c4348e932..70fefe0f90 100644 --- a/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb +++ b/modules/bim/lib/open_project/bim/patches/fog_file_uploader_patch.rb @@ -7,9 +7,9 @@ module OpenProject::Bim::Patches::FogFileUploaderPatch def fog_attributes return super unless path.ends_with?(".bcf") - { - "Content-Type" => "application/octet-stream" - } + super.merge({ + "Content-Type" => "application/octet-stream" + }) end end end