fix scopestate var name

This commit is contained in:
nick-delirium 2024-09-03 13:39:06 +02:00
parent 7ed1413e6b
commit eb7f60c721
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0

View file

@ -76,7 +76,7 @@ const reducer = (state = initialState, action = {}) => {
case LOGIN.REQUEST:
return state.set('loginRequest', { loading: true, errors: [] });
case LOGIN.SUCCESS:
console.log(action)
return state
.set('account', Account({ ...action.data.data.user }))
.set('spotJwt', action.data.spotJwt)
.set('scope', action.data.data.scopeState)