Commit 08904128c7b4279fbfcdf1e6053a6a2becec47f7

Thomas de Grivel 2021-12-15T10:48:20

fix user mails

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit/user_manager/user_notifier.ex b/lib/kmxgit/user_manager/user_notifier.ex
index b616cd2..c03bae7 100644
--- a/lib/kmxgit/user_manager/user_notifier.ex
+++ b/lib/kmxgit/user_manager/user_notifier.ex
@@ -8,7 +8,7 @@ defmodule Kmxgit.UserManager.UserNotifier do
     email =
       new()
       |> to(recipient)
-      |> from({"kmxgit", Application.fetch_env(:kmxgit, :mail_from)})
+      |> from({"kmxgit", Application.fetch_env!(:kmxgit, :mail_from)})
       |> subject(subject)
       |> text_body(body)