mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
fix: Use correct OAuth token and headers in Google Drive file upload
This commit is contained in:
@@ -530,9 +530,7 @@
|
||||
id: fileData.id,
|
||||
name: fileData.name,
|
||||
url: fileData.url,
|
||||
headers: {
|
||||
Authorization: 'Bearer [REDACTED]'
|
||||
}
|
||||
headers: fileData.headers // Use the actual headers from the picker
|
||||
});
|
||||
const uploadEvent = {
|
||||
type: 'google-drive',
|
||||
|
||||
Reference in New Issue
Block a user