diff options
Diffstat (limited to 'app/models/user_preference.rb')
-rw-r--r-- | app/models/user_preference.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb index 3a1fce9c0b4..9c40376bb13 100644 --- a/app/models/user_preference.rb +++ b/app/models/user_preference.rb @@ -20,8 +20,8 @@ class UserPreference < ApplicationRecord less_than_or_equal_to: Gitlab::TabWidth::MAX } validates :diffs_deletion_color, :diffs_addition_color, - format: { with: ColorsHelper::HEX_COLOR_PATTERN }, - allow_blank: true + format: { with: ColorsHelper::HEX_COLOR_PATTERN }, + allow_blank: true validates :pass_user_identities_to_ci_jwt, allow_nil: false, inclusion: { in: [true, false] } |