From 75804df1cb231033f94183e41cdf79d36d8f6710 Mon Sep 17 00:00:00 2001
From: Joris
Date: Sun, 21 Aug 2016 14:30:40 +0200
Subject: Show a message if there is an error during a server request

---
 src/client/elm/SignIn/Update.elm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/elm/SignIn/Update.elm')

diff --git a/src/client/elm/SignIn/Update.elm b/src/client/elm/SignIn/Update.elm
index 7ada45c..98de777 100644
--- a/src/client/elm/SignIn/Update.elm
+++ b/src/client/elm/SignIn/Update.elm
@@ -21,7 +21,7 @@ update translations msg signInView =
     ValidLogin ->
       { signInView
       | login = ""
-      , result = Just (Ok (getMessage "SignInEmailSent" translations))
+      , result = Just (Ok (getMessage translations "SignInEmailSent"))
       , waitingServer = False
       }
     ErrorLogin message ->
-- 
cgit v1.2.3