diff --git a/backend/api/quivr_api/modules/sync/repository/sync_user.py b/backend/api/quivr_api/modules/sync/repository/sync_user.py index c2de84cc4f41..a27507628ca6 100644 --- a/backend/api/quivr_api/modules/sync/repository/sync_user.py +++ b/backend/api/quivr_api/modules/sync/repository/sync_user.py @@ -276,9 +276,9 @@ async def get_files_folder_user_sync( return { "files": await sync.aget_files( sync_user["credentials"], - sync_active_id, folder_id if folder_id else "", recursive, + sync_user["id"], ) } elif provider == "github":