Merge branch 'develop' into feat/CW-3082
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user