['auth', 'me'] -> 'me'

This commit is contained in:
Alex Gleason
2021-03-25 18:38:28 -05:00
parent 1e2b0c9eee
commit 5c6fa253c7

View File

@ -179,7 +179,7 @@ export function logIn(username, password) {
export function logOut() {
return (dispatch, getState) => {
const state = getState();
const me = state.getIn(['auth', 'me']);
const me = state.get('me');
return api(getState).post('/oauth/revoke', {
client_id: state.getIn(['auth', 'app', 'client_id']),