mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-05 02:57:57 -05:00
feat: Improve Google Drive file upload with correct headers
This commit is contained in:
1 parent
7d55f9bc2e
commit
29efee8ede
2 files changed
+3
-5
No files matched your search
@@ -126,7 +126,8 @@ export const createPicker = () => {
|
||||
name: fileName,
|
||||
url: downloadUrl,
|
||||
headers: {
|
||||
'Authorization': `Bearer ${oauthToken}`
|
||||
'Authorization': `Bearer ${oauthToken}`,
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
};
|
||||
console.log('Resolving picker with:', result);
|
||||
|
||||
Reference in new issue
Block a user