Add useragent

This commit is contained in:
Dennis
2025-10-28 13:31:05 +01:00
parent db1240c43f
commit e197a915b3

View File

@@ -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()) {