Merge branch 'develop' into feat/CW-3082

This commit is contained in:
Sivin Varghese
2024-03-25 23:41:38 +05:30
committed by GitHub
28 changed files with 652 additions and 119 deletions
+1 -1
View File
@@ -169,7 +169,7 @@ class Contact < ApplicationRecord
end
def self.from_email(email)
find_by(email: email.downcase)
find_by(email: email&.downcase)
end
private
+1 -1
View File
@@ -157,7 +157,7 @@ class User < ApplicationRecord
end
def self.from_email(email)
find_by(email: email.downcase)
find_by(email: email&.downcase)
end
private