]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Command/Calendar2Command.php
Use google client id and secret env variables
[airbundle] / Command / Calendar2Command.php
index c0a739fccdd02d85e52259e8967ea6bd60087fff..ea218e3bad420ac782b45f8fe1b5cfc97620bebf 100644 (file)
@@ -69,8 +69,8 @@ class Calendar2Command extends Command {
                $this->client = new Client(
                        [
                                'application_name' => $_ENV['RAPSYSAIR_GOOGLE_PROJECT'],
-                               'client_id' => $_ENV['RAPSYSAIR_GOOGLE_CLIENT'],
-                               'client_secret' => $_ENV['RAPSYSAIR_GOOGLE_SECRET'],
+                               'client_id' => $_ENV['GOOGLE_CLIENT_ID'],
+                               'client_secret' => $_ENV['GOOGLE_CLIENT_SECRET'],
                                'redirect_uri' => $this->router->generate('rapsysair_google_callback', [], UrlGeneratorInterface::ABSOLUTE_URL),
                                'scopes' => $this->scopes,
                                'access_type' => 'offline',