fix(sync): folder upload to Google Drive (#2909)

# Description

small fix to upload folder with google drive
This commit is contained in:
Chloé Daems 2024-07-23 23:40:40 +02:00 committed by GitHub
parent 4a718e3012
commit 2093fb9407
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -240,7 +240,7 @@ class GoogleDriveSync(BaseSync):
# If recursive is True and the item is a folder, get files from the folder
if (
recursive
and item.mimeType == "application/vnd.google-apps.folder"
and item["mimeType"] == "application/vnd.google-apps.folder"
):
logger.warning(
"Calling Recursive for folder: %s",