mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-05 21:02:43 +00:00
changing messaging about googleActions
This commit is contained in:
@@ -15,8 +15,12 @@ try {
|
|||||||
'https://www.googleapis.com/auth/drive'
|
'https://www.googleapis.com/auth/drive'
|
||||||
];
|
];
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.warn(err);
|
if(!keys){
|
||||||
console.log('Please make sure that a Google Service Account is set up properly in your config files.');
|
console.log('No Google Service Account in config files - Google Drive functionality will not function.');
|
||||||
|
} else {
|
||||||
|
console.warn(err);
|
||||||
|
console.log('Please make sure that a Google Service Account is set up properly in your config files.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
google.options({ auth: serviceAuth || config.get('google_api_key') });
|
google.options({ auth: serviceAuth || config.get('google_api_key') });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user