All Drive API operations now include supportsAllDrives=True
This commit is contained in:
@@ -131,7 +131,7 @@ async def get_drive_file_content(
|
||||
request_obj = (
|
||||
service.files().export_media(fileId=file_id, mimeType=export_mime_type)
|
||||
if export_mime_type
|
||||
else service.files().get_media(fileId=file_id)
|
||||
else service.files().get_media(fileId=file_id, supportsAllDrives=True)
|
||||
)
|
||||
fh = io.BytesIO()
|
||||
downloader = MediaIoBaseDownload(fh, request_obj)
|
||||
|
||||
Reference in New Issue
Block a user