diff --git a/apps/web/pages/dashboard.tsx b/apps/web/pages/dashboard.tsx index 094d93d9f..3c6905afa 100644 --- a/apps/web/pages/dashboard.tsx +++ b/apps/web/pages/dashboard.tsx @@ -163,6 +163,8 @@ export async function getServerSideProps(context: any) { }, }); + // todo optimize querys + const sent = await prisma.recipient.groupBy({ by: ["documentId"], where: { diff --git a/package-lock.json b/package-lock.json index e5f577df0..7067174a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8483,7 +8483,7 @@ "react-hook-form": "^7.41.5", "react-pdf": "^6.2.2", "sass": "^1.57.1", - "short-uuid": "*", + "short-uuid": "^4.2.2", "tailwindcss": "^3.2.4", "typescript": "4.8.4" },