feat: Remove spreadsheet support from Google Drive picker

This commit is contained in:
Taylor Wilsdon (aider) 2024-12-16 11:11:08 -05:00
parent 81e601002f
commit 8bf09ae29c

View File

@ -104,7 +104,7 @@ export const createPicker = () => {
.addView(new google.picker.DocsView() .addView(new google.picker.DocsView()
.setIncludeFolders(false) .setIncludeFolders(false)
.setSelectFolderEnabled(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) .setOAuthToken(token)
.setDeveloperKey(API_KEY) .setDeveloperKey(API_KEY)
// Remove app ID setting as it's not needed and can cause 404 errors // Remove app ID setting as it's not needed and can cause 404 errors