check on email events

This commit is contained in:
Pete Matsyburka committed 2024-04-13 12:37:48 +03:00
1 parent 36a6b7ff1d
commit cadb78ca35
2 files changed
+2 -2

No files matched your search

+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?