mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
fix(sync): folder upload to Google Drive (#2909)
# Description small fix to upload folder with google drive
This commit is contained in:
parent
4a718e3012
commit
2093fb9407
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user