diff --git a/kernel/api/setting.go b/kernel/api/setting.go index cd881b90f..7c9d66546 100644 --- a/kernel/api/setting.go +++ b/kernel/api/setting.go @@ -310,7 +310,7 @@ func setEditor(c *gin.Context) { } if 1 > editor.HistoryRetentionDays { - editor.HistoryRetentionDays = 1 + editor.HistoryRetentionDays = 30 } if 3650 < editor.HistoryRetentionDays { editor.HistoryRetentionDays = 3650