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

Update modules/storages/app/models/storages/storage.rb

Pavel Balashou3dd34b4959eb
diff --git a/modules/storages/app/models/storages/storage.rb b/modules/storages/app/models/storages/storage.rb
index 490ffaeeda0..efc9ee99a05 100644
--- a/modules/storages/app/models/storages/storage.rb
+++ b/modules/storages/app/models/storages/storage.rb
@@ -128,7 +128,7 @@ module Storages
when :sso
true
when :storage_oauth
- OAuthClientToken.exists?(user:, oauth_client: oauth_client)
+ OAuthClientToken.exists?(user:, oauth_client:)
end
end