Skip to content

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

Fix: /preset

Ashish Viradiya911dd0d4db89
diff --git a/pages/settings/presets/new.tsx b/pages/settings/presets/new.tsx
index edfcca1a..562668bc 100644
--- a/pages/settings/presets/new.tsx
+++ b/pages/settings/presets/new.tsx
@@ -117,7 +117,7 @@ export default function NewPreset() {
watermarkConfig: data.watermarkConfig,
allowDownload: data.allowDownload,
expiresAt: data.expiresAt,
- expiresIn: data.expiresIn,
+ expiresIn: data.expiresIn || null,
}),
});