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

[#54355] improved code readability

Eric Schubertc9bb11ecf728
diff --git a/docker/dev/tls/docker-compose.yml b/docker/dev/tls/docker-compose.yml
index a4ab21cebd3..d9172f23f87 100644
--- a/docker/dev/tls/docker-compose.yml
+++ b/docker/dev/tls/docker-compose.yml
@@ -1,5 +1,3 @@
-version: "3.9"
-
services:
traefik:
image: traefik:latest
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/folder_files_file_ids_deep_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/folder_files_file_ids_deep_query.rb
index 4116284b833..4fa4a0dc2bd 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/folder_files_file_ids_deep_query.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/folder_files_file_ids_deep_query.rb
@@ -44,8 +44,8 @@ module Storages
def call(auth_strategy:, folder:)
origin_user_id = Util.origin_user_id(caller: self.class, storage: @storage, auth_strategy:)
- if origin_user_id.failure?
- return origin_user_id
+ .on_failure do |result|
+ return result
end
Authentication[auth_strategy].call(storage: @storage, http_options:) do |http|