From fb22daaa6502bbb4e35892f0707e619d23f94eb5 Mon Sep 17 00:00:00 2001 From: Francois-Gomis Date: Wed, 18 Feb 2026 15:05:19 +0100 Subject: [PATCH] fix: errors in header --- src/Client/Application/Endpoint/AbstractEndpoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/Application/Endpoint/AbstractEndpoint.php b/src/Client/Application/Endpoint/AbstractEndpoint.php index 57617894..1352706e 100644 --- a/src/Client/Application/Endpoint/AbstractEndpoint.php +++ b/src/Client/Application/Endpoint/AbstractEndpoint.php @@ -35,7 +35,7 @@ public function __construct(ClientInterface $client) private function createRequest(string $method, string $uri, array $body = []): Request { $headers = [ - 'User-Agent: ' . $this->client->getConfig()->getUserAgentString(), + 'User-Agent' => $this->client->getConfig()->getUserAgentString(), 'Authorization' => ['Alma-Auth ' . $this->client->getConfig()->getApiKey()] ]; return new Request($method, $uri, $headers, json_encode($body));