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