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

OneDrive provider type fix (#19882)

Yauheni Suhakou99402fa01c1c
diff --git a/app/controllers/oauth_clients_controller.rb b/app/controllers/oauth_clients_controller.rb
index 52a2698faa1..fe2787ebe00 100644
--- a/app/controllers/oauth_clients_controller.rb
+++ b/app/controllers/oauth_clients_controller.rb
@@ -236,7 +236,7 @@ class OAuthClientsController < ApplicationController
end
def one_drive?
- @oauth_client&.integration&.provider_type == ::Storages::Storage::PROVIDER_TYPE_ONE_DRIVE
+ @oauth_client&.integration&.provider_type == ::Storages::OneDriveStorage.name
end
def get_redirect_uri