elm-format
parent
d7a7fa385c
commit
90eb06f3a1
|
@ -318,7 +318,7 @@ update updateContent eu startData =
|
|||
|
||||
RemoveAccessToken token ->
|
||||
Recursion.base
|
||||
(\({context} as data) ->
|
||||
(\({ context } as data) ->
|
||||
{ data
|
||||
| context =
|
||||
{ context
|
||||
|
@ -330,7 +330,7 @@ update updateContent eu startData =
|
|||
|
||||
RemovePasswordIfNecessary ->
|
||||
Recursion.base
|
||||
(\({context} as data) ->
|
||||
(\({ context } as data) ->
|
||||
if data.settings.removePasswordOnLogin then
|
||||
{ data | context = { context | password = Nothing } }
|
||||
|
||||
|
@ -340,7 +340,7 @@ update updateContent eu startData =
|
|||
|
||||
SetAccessToken a ->
|
||||
Recursion.base
|
||||
(\({context} as data) ->
|
||||
(\({ context } as data) ->
|
||||
{ data | context = { context | accessTokens = Hashdict.insert a context.accessTokens } }
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue