0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

Fix Config spelling (must be all lowercase)

This commit is contained in:
Trevor Buckner
2020-10-07 16:17:05 -04:00
parent 131df2d82a
commit 28ed2fe8f2
2 changed files with 8 additions and 11 deletions

View File

@@ -21,8 +21,8 @@ GoogleActions = {
}
const oAuth2Client = new google.auth.OAuth2(
config.get('googleClientId'),
config.get('googleClientSecret'),
config.get('google_client_id'),
config.get('google_client_secret'),
'/auth/google/redirect'
);
@@ -225,7 +225,7 @@ GoogleActions = {
readFileMetadata : async (auth, id, accessId, accessType)=>{
const drive = google.drive({ version: 'v3', auth: auth });
console.log(auth);
const obj = await drive.files.get({
fileId : id,
fields : 'properties'