chore: Fix emails being sent with the wrong translations (#2236)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -65,6 +65,7 @@ class ApplicationMailer < ActionMailer::Base
|
||||
end
|
||||
|
||||
def ensure_current_account(account)
|
||||
Current.reset
|
||||
Current.account = account if account.present?
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user