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.
1 parent b6c7734 commit fd64c0fCopy full SHA for fd64c0f
src/Client.php
@@ -42,7 +42,9 @@ public function __construct(array $config, $userEmail='')
42
$this->client->setDeveloperKey(array_get($config, 'developer_key', ''));
43
44
// auth for service account
45
- $this->auth($userEmail);
+ if (array_get($config, 'service.enable', false)) {
46
+ $this->auth($userEmail);
47
+ }
48
}
49
50
/**
0 commit comments