checks retention routes

This commit is contained in:
Alex Holliday committed 2025-11-27 23:37:29 +00:00
1 parent ce97e201c9
commit 08887bbc58
6 files changed
+104 -3

No files matched your search

@@ -13,6 +13,7 @@ export interface ISystemSettings extends Document {
systemEmailIgnoreTLS: boolean;
systemEmailRequireTLS: boolean;
systemEmailRejectUnauthorized: boolean;
dataRetentionDays: number;
}
const SystemSettingsSchema = new Schema<ISystemSettings>(
@@ -30,6 +31,7 @@ const SystemSettingsSchema = new Schema<ISystemSettings>(
systemEmailIgnoreTLS: { type: Boolean, default: false },
systemEmailRequireTLS: { type: Boolean, default: false },
systemEmailRejectUnauthorized: { type: Boolean, default: true },
dataRetentionDays: { type: Number, default: 90 },
},
{
timestamps: true,