add X-Request-Id
This commit is contained in:
parent
60bc5943ff
commit
d959852a56
|
@ -95,6 +95,7 @@ class Client extends JsonRpc
|
|||
try {
|
||||
$headers = [
|
||||
'X-Client-App' => $this->config['app'],
|
||||
'X-Request-Id' => app('request')->header('X-Request-Id')
|
||||
];
|
||||
app('rpc.logger')->info("client_request", array_merge($this->server_config, $payload));
|
||||
$resp = $this->http->request('POST', 'rpc/json-rpc-v2.json', array_merge([
|
||||
|
|
Loading…
Reference in New Issue
Block a user