feat: add admin settings for reminder hour and minutes, and update expiry warning handling in UI and translations
This commit is contained in:
@@ -142,6 +142,8 @@ export async function settingsRoutes(app: FastifyInstance) {
|
||||
nextScheduledCheck: reminderState.nextScheduledCheck,
|
||||
lastNotificationType: reminderState.lastNotificationType,
|
||||
lastNotificationChannel: reminderState.lastNotificationChannel,
|
||||
// Admin settings (from .env, read-only)
|
||||
expiryWarningDays: parseInt(process.env.EXPIRY_WARNING_DAYS ?? "30", 10),
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user