mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
feat: Improve Google Drive file upload with correct headers
This commit is contained in:
@@ -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