refactor(log): always use Current.request_id
This commit is contained in:
parent
9fabef0ac7
commit
7f0618e6ef
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ class ApplicationController < ActionController::Base
|
||||||
user_id: current_user&.id,
|
user_id: current_user&.id,
|
||||||
user_roles: current_user_roles,
|
user_roles: current_user_roles,
|
||||||
client_ip: request.headers['X-Forwarded-For'],
|
client_ip: request.headers['X-Forwarded-For'],
|
||||||
request_id: request.headers['X-Request-ID']
|
request_id: Current.request_id
|
||||||
})
|
})
|
||||||
|
|
||||||
if browser.known?
|
if browser.known?
|
||||||
|
|
Loading…
Reference in a new issue