0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 06:52:38 +00:00

changing messaging about googleActions

This commit is contained in:
Gazook89
2022-11-29 12:57:27 -06:00
parent 5cd50f7138
commit ca6f8d085a

View File

@@ -15,9 +15,13 @@ try {
'https://www.googleapis.com/auth/drive' 'https://www.googleapis.com/auth/drive'
]; ];
} catch (err) { } catch (err) {
if(!keys){
console.log('No Google Service Account in config files - Google Drive functionality will not function.');
} else {
console.warn(err); console.warn(err);
console.log('Please make sure that a Google Service Account is set up properly in your config files.'); 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') });
const GoogleActions = { const GoogleActions = {