Compare commits
1 Commits
47e8969290
...
36ad2cc93c
Author | SHA1 | Date | |
---|---|---|---|
36ad2cc93c |
|
@ -185,9 +185,7 @@ updateLoginResponse model a r = case r of
|
||||||
Ok lr -> ( { model | token = Just lr.accessToken, loginUsername = lr.userId, apiUrl = a }, Cmd.batch
|
Ok lr -> ( { model | token = Just lr.accessToken, loginUsername = lr.userId, apiUrl = a }, Cmd.batch
|
||||||
[ firstSync model.apiUrl lr.accessToken
|
[ firstSync model.apiUrl lr.accessToken
|
||||||
, Nav.pushUrl model.key <| Url.Builder.absolute [] []
|
, Nav.pushUrl model.key <| Url.Builder.absolute [] []
|
||||||
, setStoreValuePort ("scylla.loginInfo", Json.Encode.string
|
, setStoreValuePort ("scylla.loginInfo", Json.Encode.string <| encodeLoginInfo (lr.accessToken, model.apiUrl, lr.userId))
|
||||||
<| encodeLoginInfo
|
|
||||||
<| LoginInfo lr.accessToken model.apiUrl lr.userId model.transactionId)
|
|
||||||
] )
|
] )
|
||||||
Err e -> (model, Cmd.none)
|
Err e -> (model, Cmd.none)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user