Skip to content

Commit a524f0f

Browse files
committed
Fix Content Type
1 parent adfb876 commit a524f0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Clients/GuzzleClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function __construct(\LKDev\HetznerCloud\HetznerAPIClient $client)
1414
{
1515
parent::__construct([
1616
'base_uri' => $client->getBaseUrl(),
17-
'headers' => ['Authorization' => 'Bearer '.$client->getApiToken()],
17+
'headers' => ['Authorization' => 'Bearer '.$client->getApiToken(), 'Content-Type' => 'application/json'],
1818
]);
1919
}
2020
}

0 commit comments

Comments
 (0)