diff --git a/src/app/actions.ts b/src/app/actions.ts index 8cc6c2b..18bd344 100644 --- a/src/app/actions.ts +++ b/src/app/actions.ts @@ -53,7 +53,7 @@ export async function getPaperlessDocuments(query: string) { if (!query || query == "null" || query.length < 3 || !userData) return null; const response = await fetch( - `${userData.paperlessURL}/api/documents/?query=${query}`, + `${userData.paperlessURL}/api/documents/?query=${query}&page=1&page_size=10&truncate_content=true`, { method: "GET", headers: {