From cee028287493d86330a743a6f3755ce5c66d4aed Mon Sep 17 00:00:00 2001 From: Leonid Batyuk Date: Wed, 21 Mar 2018 11:09:46 +0100 Subject: [PATCH] Use Macro instead of Mix.Utils to camelize strings --- lib/addict/mailers/mailers.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addict/mailers/mailers.ex b/lib/addict/mailers/mailers.ex index d0ca48e..61769fe 100644 --- a/lib/addict/mailers/mailers.ex +++ b/lib/addict/mailers/mailers.ex @@ -14,7 +14,7 @@ defmodule Addict.Mailers do end defp do_send_email(to, from, subject, html_body, mail_service) do - mail_service = to_string(mail_service) |> Mix.Utils.camelize + mail_service = to_string(mail_service) |> Macro.camelize mailer = Module.concat Addict.Mailers, mail_service mailer.send_email(to, from, subject, html_body) end