mirror of
https://github.com/open-webui/open-webui
synced 2024-12-29 15:25:29 +00:00
feat: Remove spreadsheet support from Google Drive picker
This commit is contained in:
parent
81e601002f
commit
8bf09ae29c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user