From 0a0c0d128d7f91701089adedf52c280b930714ee Mon Sep 17 00:00:00 2001 From: Jet Li Date: Wed, 23 Oct 2024 04:24:12 +0000 Subject: [PATCH] Fix the error for using additional user_id --- .gitignore | 3 ++- app/central_storage/backend/application/document_hub.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dee16c2..3693a64 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ .vscode /deploy/.* *.log -*.pyc \ No newline at end of file +*.pyc +freedev.code-workspace \ No newline at end of file diff --git a/app/central_storage/backend/application/document_hub.py b/app/central_storage/backend/application/document_hub.py index 2b59585..c9ae0b3 100644 --- a/app/central_storage/backend/application/document_hub.py +++ b/app/central_storage/backend/application/document_hub.py @@ -5,7 +5,7 @@ from app.central_storage.backend.business.document_manager import ( class DocumentHub: def __init__(self, ): - self.document_manager = DocumentManager(self.user_id) + self.document_manager = DocumentManager() return async def retrieve_document_info(self, document_id: str):