From adc34ac28227cf16aba5c51e7eaa034638bb0fb6 Mon Sep 17 00:00:00 2001 From: Timur Ercan Date: Fri, 27 Jan 2023 20:28:04 +0100 Subject: [PATCH] todo --- apps/web/pages/dashboard.tsx | 2 ++ package-lock.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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" },