We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f024cc8 + b153013 commit bedb55eCopy full SHA for bedb55e
1 file changed
src/Client/Application/Endpoint/AbstractEndpoint.php
@@ -35,7 +35,7 @@ public function __construct(ClientInterface $client)
35
private function createRequest(string $method, string $uri, array $body = []): Request {
36
37
$headers = [
38
- 'User-Agent' => $this->client->getConfig()->getUserAgentString(),
+ 'User-Agent' => [$this->client->getConfig()->getUserAgentString()],
39
'Authorization' => ['Alma-Auth ' . $this->client->getConfig()->getApiKey()]
40
];
41
return new Request($method, $uri, $headers, json_encode($body));
0 commit comments