(fix:gdrive) no api keyneded

This commit is contained in:
ManishMadan2882
2025-09-20 19:55:18 +05:30
parent 6ca3d9585c
commit b6349e4efb
3 changed files with 5 additions and 3 deletions

View File

@@ -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: [
{