From 8bf09ae29cd37b6827a12639d5bdc716dd09c8cd Mon Sep 17 00:00:00 2001 From: "Taylor Wilsdon (aider)" Date: Mon, 16 Dec 2024 11:11:08 -0500 Subject: [PATCH] feat: Remove spreadsheet support from Google Drive picker --- src/lib/utils/google-drive-picker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/google-drive-picker.ts b/src/lib/utils/google-drive-picker.ts index 41cc673c2..28228edf7 100644 --- a/src/lib/utils/google-drive-picker.ts +++ b/src/lib/utils/google-drive-picker.ts @@ -104,7 +104,7 @@ export const createPicker = () => { .addView(new google.picker.DocsView() .setIncludeFolders(false) .setSelectFolderEnabled(false) - .setMimeTypes('application/pdf,text/plain,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.google-apps.document,application/vnd.google-apps.spreadsheet')) + .setMimeTypes('application/pdf,text/plain,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.google-apps.document')) .setOAuthToken(token) .setDeveloperKey(API_KEY) // Remove app ID setting as it's not needed and can cause 404 errors