Skip to content

Commit

Permalink
Merge pull request #41 from storyblok/feature/ssl-param-mapi
Browse files Browse the repository at this point in the history
Feature/ssl param mapi
  • Loading branch information
christianzoppi authored Mar 4, 2022
2 parents 09d6b99 + 9544d86 commit f0594fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Storyblok/ManagementClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ class ManagementClient extends BaseClient
* @param string $apiEndpoint
* @param string $apiVersion
*/
function __construct($apiKey = null, $apiEndpoint = "mapi.storyblok.com", $apiVersion = "v1")
function __construct($apiKey = null, $apiEndpoint = "mapi.storyblok.com", $apiVersion = "v1", $ssl = false)
{
parent::__construct($apiKey, $apiEndpoint, $apiVersion, false);
parent::__construct($apiKey, $apiEndpoint, $apiVersion, $ssl);
}

/**
* @param \Psr\Http\Message\ResponseInterface $responseObj
*
* @return \stdClass
*/
public function responseHandler($responseObj)
public function responseHandler($responseObj, $queryString = null)
{
$httpResponseCode = $responseObj->getStatusCode();
$data = (string) $responseObj->getBody();
Expand Down

0 comments on commit f0594fb

Please sign in to comment.