From d8e4ffce86131713d3c66b3512076d3d7525414a Mon Sep 17 00:00:00 2001 From: nickkdoesstuff <69115738+nickkdoesstuff@users.noreply.github.com> Date: Mon, 2 Jan 2023 16:36:46 +0000 Subject: [PATCH] 500 fixes --- pages/workspace/[id]/views.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/workspace/[id]/views.tsx b/pages/workspace/[id]/views.tsx index 5034ebe..f763d23 100644 --- a/pages/workspace/[id]/views.tsx +++ b/pages/workspace/[id]/views.tsx @@ -102,7 +102,7 @@ export const getServerSideProps = withPermissionCheckSsr(async ({ params }: GetS const ims: number[] = []; allActivity.filter((x: any) => BigInt(x.userId) == user.userid).forEach((s: any) => { - ims.push(s.idleTime) + ims.push(Number(s.idleTime)) }) const sh: any[] = []