We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a89c1b + 8d869d4 commit 755f7c1Copy full SHA for 755f7c1
src/Client/KeenIOClient.php
@@ -72,9 +72,20 @@ public static function factory($config = array())
72
73
$file = 'keen-io-' . str_replace('.', '_', $config['version']) . '.php';
74
75
+ $guzzleClientConfig = $config;
76
+ unset(
77
+ $guzzleClientConfig['masterKey'],
78
+ $guzzleClientConfig['writeKey'],
79
+ $guzzleClientConfig['readKey'],
80
+ $guzzleClientConfig['projectId'],
81
+ $guzzleClientConfig['organizationKey'],
82
+ $guzzleClientConfig['organizationId'],
83
+ $guzzleClientConfig['version']
84
+ );
85
+
86
// Create the new Keen IO Client with our Configuration
87
return new self(
- new Client($config),
88
+ new Client($guzzleClientConfig),
89
new Description(include __DIR__ . "/Resources/{$file}"),
90
null,
91
function ($arg) {
0 commit comments