Skip to content

Commit

Permalink
Merge pull request #1873 from tactilenews/1871_fix_user_count_exceeds…
Browse files Browse the repository at this point in the history
…_plan_limit_email_error

Fix user_count_exceeds_plan_limit_email error
  • Loading branch information
mattwr18 authored May 22, 2024
2 parents 2bbef1e + 6fae9c2 commit 4e8a390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/adapters/postmark_adapter/outbound.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def user_count_exceeds_plan_limit_email
business_plan_name: organization.business_plan.name,
users_limit: organization.business_plan.number_of_users)
message_stream = Setting.postmark_transactional_stream
@text = [subject, I18n.t('adapter.postmark.user_count_exceeds_plan_limit.text', organization_name: organization.name)]
@text = [subject, I18n.t('adapter.postmark.user_count_exceeds_plan_limit.text', organization_name: organization.name)].join("\n")
mail(to: admin.email, subject: subject, message_stream: message_stream)
end

Expand Down

0 comments on commit 4e8a390

Please sign in to comment.