From 5c6fa253c7d23e7615e6174501500ab86e286f97 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 25 Mar 2021 18:38:28 -0500 Subject: [PATCH] ['auth', 'me'] -> 'me' --- app/soapbox/actions/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/actions/auth.js b/app/soapbox/actions/auth.js index 3c576e6c5..80f58a950 100644 --- a/app/soapbox/actions/auth.js +++ b/app/soapbox/actions/auth.js @@ -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']),