diff --git a/server/googleActions.js b/server/googleActions.js index af1972efb..a21bfc2db 100644 --- a/server/googleActions.js +++ b/server/googleActions.js @@ -223,7 +223,7 @@ GoogleActions = { }, readFileMetadata : async (auth, id, accessId, accessType)=>{ - const drive = google.drive({ version: 'v3', auth }); + const drive = google.drive({ version: 'v3', auth: auth }); const obj = await drive.files.get({ fileId : id,