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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Calls the method that I forgot that I had. Thanks Andreas!
Marcello Rocha9dea656169a1
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/files_query.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/files_query.rbindex 966f92327f3..6111876a6a6 100644--- a/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/files_query.rb+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/one_drive/files_query.rb@@ -84,7 +84,7 @@ module Storagesid: json[:id],name: json[:name],size: json[:size],- mime_type: json.dig(:file, :mimeType) || 'application/x-op-directory',+ mime_type: mime_type(json),created_at: DateTime.parse(json.dig(:fileSystemInfo, :createdDateTime)),last_modified_at: DateTime.parse(json.dig(:fileSystemInfo, :lastModifiedDateTime)),created_by_name: json.dig(:createdBy, :user, :displayName),@@ -96,7 +96,7 @@ module Storagesenddef mime_type(json)- json.dig(:file, :mimeType) || json.key?(:folder) ? 'application/x-op-directory' : nil+ json.dig(:file, :mimeType) || (json.key?(:folder) ? 'application/x-op-directory' : nil)enddef using_user_token(user, &block)