diff --git a/app/models/account.rb b/app/models/account.rb index 6ef1aed9..f47eae2f 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -70,7 +70,7 @@ class Account < ApplicationRecord include DomainNormalizable SPAM_FLAG_CLASS_MAP = { - none: 0, + none: nil, spam: 1, safe: 2, }.freeze