fix: Use correct OAuth token and headers in Google Drive file upload

This commit is contained in:
Taylor Wilsdon (aider)
2024-12-15 19:50:51 -05:00
parent 1542cb486d
commit f4f8334153
2 changed files with 3 additions and 5 deletions

View File

@@ -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',