0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

Small cleanup

This commit is contained in:
Trevor Buckner
2024-12-08 23:59:27 -05:00
parent 9758797e2b
commit c7d94b0779

View File

@@ -241,8 +241,8 @@ const GoogleActions = {
return obj.data.id;
},
getGoogleBrew : async (auth, id, accessId, accessType)=>{
const drive = googleDrive.drive({ version: 'v3', auth: auth || defaultAuth });
getGoogleBrew : async (auth = defaultAuth, id, accessId, accessType)=>{
const drive = googleDrive.drive({ version: 'v3', auth: auth });
const obj = await drive.files.get({
fileId : id,