diff --git a/backend/src/api/routes/documents.py b/backend/src/api/routes/documents.py index 5c597e8..0654d06 100644 --- a/backend/src/api/routes/documents.py +++ b/backend/src/api/routes/documents.py @@ -510,6 +510,7 @@ async def get_document_content( @router.get("/{document_id}/pdf") async def get_document_pdf( document_id: str, + token: Optional[str] = Query(None), current_user: User = Depends(get_current_active_user), db: AsyncSession = Depends(get_db) ): diff --git a/frontend/search.html b/frontend/search.html index c7c7006..2a0d325 100644 --- a/frontend/search.html +++ b/frontend/search.html @@ -10,6 +10,12 @@ +