mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
changing messaging about googleActions
This commit is contained in:
@@ -15,8 +15,12 @@ try {
|
||||
'https://www.googleapis.com/auth/drive'
|
||||
];
|
||||
} catch (err) {
|
||||
console.warn(err);
|
||||
console.log('Please make sure that a Google Service Account is set up properly in your config files.');
|
||||
if(!keys){
|
||||
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') });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user