From 1115c7b1461c5fc4d7bd1e4fc107dfd76069cfcf Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Mon, 30 Sep 2024 11:37:22 +0200 Subject: [PATCH] feat: update sync_user.py to include sync user id in aget_files call --- backend/api/quivr_api/modules/sync/repository/sync_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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":