Skip to content

Commit

Permalink
Merge pull request #132 from beyerz/master
Browse files Browse the repository at this point in the history
Create Project fix
  • Loading branch information
piotrek-buchman authored Aug 23, 2018
2 parents 7c3ef0c + 24c4928 commit 9ae58fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Change Log
==========

VERSION 2.5.13
-------------
* Fix for invalid request "Missing required organizationKey" when using createProject
* Fix for no body content being sent when using createProject

VERSION 2.5.12
-------------
* Fix a bug that caused arrays in the POST body to be encoded as strings
Expand Down
3 changes: 2 additions & 1 deletion src/Client/KeenIOClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
class KeenIOClient extends GuzzleClient
{

const VERSION = '2.5.12';
const VERSION = '2.5.13';

/**
* Factory to create new KeenIOClient instance.
Expand Down Expand Up @@ -106,6 +106,7 @@ public function getCommand($name, array $params = [])
$params['writeKey'] = $this->getKeyForWriting();
$params['readKey'] = $this->getKeyForReading();
$params['organizationId'] = $this->getConfig('organizationId');
$params['organizationKey'] = $this->getConfig('organizationKey');

return parent::getCommand($name, $params);
}
Expand Down
7 changes: 3 additions & 4 deletions src/Client/Resources/keen-io-3_0.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@
'type' => 'string',
'required' => true,
),
'project_data' => array(
'location' => 'json',
'type' => 'array',
),
),
'additionalParameters' => array(
'location' => 'json'
),
),

Expand Down

0 comments on commit 9ae58fe

Please sign in to comment.