Skip to content

Commit 5bc28b2

Browse files
committed
Add Postmark template id for organization invite to the email
1 parent c65b5d1 commit 5bc28b2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

config/remote-development.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ config :code_corps, CodeCorps.Mailer,
4444

4545
config :code_corps,
4646
postmark_forgot_password_template: "123",
47+
postmark_organization_invite_email_template: "123",
4748
postmark_project_acceptance_template: "123",
4849
postmark_project_request_template: "123",
4950
postmark_receipt_template: "123"

config/test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ config :code_corps, CodeCorps.Mailer,
6666

6767
config :code_corps,
6868
postmark_forgot_password_template: "123",
69+
postmark_organization_invite_email_template: "123",
6970
postmark_project_acceptance_template: "123",
7071
postmark_project_request_template: "123",
7172
postmark_receipt_template: "123"

lib/code_corps/emails/organization_invite_email.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ defmodule CodeCorps.Emails.OrganizationInviteEmail do
3535
end
3636

3737
@spec template_id :: String.t
38-
defp template_id, do: Application.get_env(:code_corps, :organization_invite_email_template)
38+
defp template_id, do: Application.get_env(:code_corps, :postmark_organization_invite_email_template)
3939
end

0 commit comments

Comments
 (0)