check on email events

This commit is contained in:
Pete Matsyburka
2024-04-13 11:51:47 +03:00
parent 36a6b7ff1d
commit cadb78ca35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ module Accounts
end.presence
end
def can_send_emails?(_account)
def can_send_emails?(_account, **_params)
return true if Docuseal.multitenant?
return true if ENV['SMTP_ADDRESS'].present?