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

This commit is contained in:
Alex Gleason 2021-03-25 18:38:28 -05:00
parent 1e2b0c9eee
commit 5c6fa253c7
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

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']),