mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
(fix:gdrive) no api keyneded
This commit is contained in:
@@ -90,9 +90,8 @@ export const IngestorFormSchemas: IngestorSchema[] = [
|
||||
icon: DriveIcon,
|
||||
heading: 'Upload from Google Drive',
|
||||
validate: () => {
|
||||
const googleApiKey = import.meta.env.VITE_GOOGLE_API_KEY;
|
||||
const googleClientId = import.meta.env.VITE_GOOGLE_CLIENT_ID;
|
||||
return !!(googleApiKey && googleClientId);
|
||||
return !!(googleClientId);
|
||||
},
|
||||
fields: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user