refactor(log): always use Current.request_id

This commit is contained in:
simon lehericey 2024-12-06 10:29:36 +01:00
parent 9fabef0ac7
commit 7f0618e6ef
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -256,7 +256,7 @@ class ApplicationController < ActionController::Base
user_id: current_user&.id,
user_roles: current_user_roles,
client_ip: request.headers['X-Forwarded-For'],
request_id: request.headers['X-Request-ID']
request_id: Current.request_id
})
if browser.known?