Skip to content

Commit

Permalink
Merge branch 'hotfix/0.3.3-beta'
Browse files Browse the repository at this point in the history
  • Loading branch information
brolaugh committed Sep 27, 2017
2 parents 9bce456 + 9d227da commit 84a0fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Communicator.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ private static function parseEndPoint(string $endPoint)
* @param boolean $https Whether the the API call should use HTTPS or not(HTTP).
* @return string The response from the API.
*/
private function sendRequest(string $endPoint, string $method, string $content = "", bool $https = false): Response
private function sendRequest(string $endPoint, string $method, string $content = "", bool $https = true): Response
{
$url = ($https ? "https://" : "http://") . self::DOMAIN . "/" .$endPoint;
$request = \Httpful\Request::init($method, 'application/json');
Expand Down

0 comments on commit 84a0fb8

Please sign in to comment.