Fixed issue with account.rb for spam_flag to include nil by default

• Fixed:
- issue with account.rb for spam_flag to include nil by default

Was causing failure to account sign up where new values are nil and the validation failed because it expected 0,1,2 values.
This commit is contained in:
Developer 2021-02-19 11:05:30 -05:00
parent 4acf7f0bce
commit d7271b899f

@ -70,7 +70,7 @@ class Account < ApplicationRecord
include DomainNormalizable
SPAM_FLAG_CLASS_MAP = {
none: 0,
none: nil,
spam: 1,
safe: 2,
}.freeze