bigbuffet-rw/app/soapbox/utils/auth.js
2021-03-24 17:53:09 -05:00

4 lines
147 B
JavaScript

export const getAccessToken = state => {
const me = state.getIn(['auth', 'me']);
return state.getIn(['auth', 'users', me, 'access_token']);
};