diff --git a/src/helpers/GithubImporter.php b/src/helpers/GithubImporter.php index 387b1e1..f6d14ff 100755 --- a/src/helpers/GithubImporter.php +++ b/src/helpers/GithubImporter.php @@ -56,8 +56,8 @@ class GithubImporter { $client = new Client(); $client->addCache($pool); - if (!empty($clientId) && !empty($clientSecret)) { - $client->authenticate($clientId, $clientSecret, Client::AUTH_URL_CLIENT_ID); + if (!empty($clientId)) { + $client->authenticate($clientId, null, Client::AUTH_HTTP_TOKEN); } return $client;