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

[42160] renamed missing variable

Eric Schubert9d67c75e79ce
diff --git a/modules/storages/lib/api/v3/file_links/storage_url_helper.rb b/modules/storages/lib/api/v3/file_links/storage_url_helper.rb
index df1b667b555..319793cc03e 100644
--- a/modules/storages/lib/api/v3/file_links/storage_url_helper.rb
+++ b/modules/storages/lib/api/v3/file_links/storage_url_helper.rb
@@ -83,7 +83,7 @@ module API::V3::FileLinks::StorageUrlHelper
def direct_download_token(body:)
token = parse_direct_download_token(body:)
if token.blank?
- Rails.logger.error "Received unexpected json response: #{direct_download_response.result}"
+ Rails.logger.error "Received unexpected json response: #{body}"
return ServiceResult.failure(result: I18n.t('http.response.unexpected'))
end