diff --git a/docs/quickstart/index.js b/docs/quickstart/index.js index 0de59489..26b066a5 100644 --- a/docs/quickstart/index.js +++ b/docs/quickstart/index.js @@ -40,7 +40,7 @@ fs.readFile('credentials.json', (err, content) => { * @param {function} callback The callback to call with the authorized client. */ function authorize(credentials, callback) { - const {client_secret, client_id, redirect_uris} = credentials.installed; + const {client_secret, client_id, redirect_uris} = credentials.web; const oAuth2Client = new google.auth.OAuth2( client_id, client_secret, redirect_uris[0]);