Skip to content

Commit

Permalink
Fix Content Type
Browse files Browse the repository at this point in the history
  • Loading branch information
LKaemmerling committed Jan 29, 2018
1 parent adfb876 commit a524f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Clients/GuzzleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function __construct(\LKDev\HetznerCloud\HetznerAPIClient $client)
{
parent::__construct([
'base_uri' => $client->getBaseUrl(),
'headers' => ['Authorization' => 'Bearer '.$client->getApiToken()],
'headers' => ['Authorization' => 'Bearer '.$client->getApiToken(), 'Content-Type' => 'application/json'],
]);
}
}

0 comments on commit a524f0f

Please sign in to comment.