0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +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,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') });