Add elm-analyse file and fix a few warnings

This commit is contained in:
Eike Kettner
2019-11-17 00:46:34 +01:00
parent f747c6146d
commit 852d292d9b
4 changed files with 10 additions and 13 deletions

View File

@ -18,7 +18,7 @@ import App.View exposing (..)
-- MAIN
main: Program Flags Model Msg
main =
Browser.application
{ init = init
@ -42,7 +42,7 @@ init flags url key =
else (im, Page.goto page)
sessionCheck =
case m.flags.account of
Just acc -> Api.loginSession flags SessionCheckResp
Just _ -> Api.loginSession flags SessionCheckResp
Nothing -> Cmd.none
in
(m, Cmd.batch [ cmd, Ports.initElements(), Api.versionInfo flags VersionResp, sessionCheck ])