diff --git a/backend/src/api/routes/document_links.py b/backend/src/api/routes/document_links.py index a8cbb71..921e613 100644 --- a/backend/src/api/routes/document_links.py +++ b/backend/src/api/routes/document_links.py @@ -123,7 +123,7 @@ async def create_document_link( if not target_doc: # 문서에서 찾지 못하면 노트에서 찾기 print(f"🔍 문서에서 찾지 못함, 노트에서 검색: {link_data.target_document_id}") - from models.note_document import NoteDocument + from ...models.note_document import NoteDocument result = await db.execute(select(NoteDocument).where(NoteDocument.id == link_data.target_document_id)) target_note = result.scalar_one_or_none()