add the filter to use is_verified check

This commit is contained in:
Tanmay Sharma
2025-07-22 16:18:02 +04:00
parent 0899021777
commit c93528e1b3
+1 -1
View File
@@ -179,7 +179,7 @@ class Contact < ApplicationRecord
end
def self.resolved_contacts
where("contacts.email <> '' OR contacts.phone_number <> '' OR contacts.identifier <> ''")
where(is_verified: true)
end
def discard_invalid_attrs