Skip to content

Commit

Permalink
fix default value
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Nov 26, 2024
1 parent 3f2ea9a commit 7db3ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7db3ec6

Please sign in to comment.