From 7db3ec676cb912dd5793feecce16802329d33f12 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Date: Tue, 26 Nov 2024 13:22:32 -0500 Subject: [PATCH] fix default value --- app/models/setting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/setting.rb b/app/models/setting.rb index a0f890c..61350dd 100644 --- a/app/models/setting.rb +++ b/app/models/setting.rb @@ -17,7 +17,7 @@ class Setting < RailsSettings::Base ## Request Related Defaults field :request_expiry_notice_interval, default: (ENV['request_expiry_notice_interval'] || 2.weeks) - field :request_archive_all_after, default: (ENV['request_archive_all_after'] || 60.days) + field :request_archive_all_after, default: (ENV['request_archive_all_after'] || 60) field :request_archive_all_user_id, default: (ENV['request_archive_all_user_id'] || 0) field :request_archive_all_allow, default: (ENV['request_archive_all_allow'] || false) field :request_remove_incomplete_allow, default: (ENV['request_remove_incomplete_allow'] || false)