Add useragent
This commit is contained in:
@@ -57,6 +57,7 @@ class Ploi
|
|||||||
'Authorization' => 'Bearer ' . $this->getApiToken(),
|
'Authorization' => 'Bearer ' . $this->getApiToken(),
|
||||||
'Accept' => 'application/json',
|
'Accept' => 'application/json',
|
||||||
'Content-Type' => 'application/json',
|
'Content-Type' => 'application/json',
|
||||||
|
'X-Custom-Ploi-Agent' => 'Ploi-Core',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (app()->isLocal()) {
|
if (app()->isLocal()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user