Skip to content

Commit

Permalink
fix: Remove usage of deprecated Google client setAuthConfigFile met…
Browse files Browse the repository at this point in the history
…hod.

Fixes #40
  • Loading branch information
nbourguig committed Apr 21, 2019
1 parent f9436ba commit 7799f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static function create($authConfigFile, $applicationName)
self::checkAuthConfigFile($authConfigFile);

$client = new static();
$client->setAuthConfigFile($authConfigFile);
$client->setAuthConfig($authConfigFile);
$client->setApplicationName($applicationName);
$client->setScopes(\Google_Service_Sheets::SPREADSHEETS);

Expand Down

0 comments on commit 7799f6f

Please sign in to comment.