Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: cleanup

Marc Seitz9f22377ae014
diff --git a/pages/api/mupdf/convert-page.ts b/pages/api/mupdf/convert-page.ts
index e87015d0..9acdc2ef 100644
--- a/pages/api/mupdf/convert-page.ts
+++ b/pages/api/mupdf/convert-page.ts
@@ -171,7 +171,7 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
}
// Send the images as a response
- res.status(200).json({ documentPageId: documentPage!.id });
+ res.status(200).json({ documentPageId: documentPage.id });
return;
} catch (error) {
log({