Skip to content

The Open Source DocuSign Alternative.

bugfix

Timur Ercan31d7263ff154
diff --git a/apps/web/pages/documents/[id]/index.tsx b/apps/web/pages/documents/[id]/index.tsx
index 1ea875624..b76bbf39c 100644
--- a/apps/web/pages/documents/[id]/index.tsx
+++ b/apps/web/pages/documents/[id]/index.tsx
@@ -158,8 +158,8 @@ export async function getServerSideProps(context: any) {
const document: PrismaDocument = await getDocument(
+documentId,
- context.res,
- context.req
+ context.req,
+ context.res
);
// todo optimize querys