bigbuffet-rw/app/soapbox/utils/auth.js

5 lines
147 B
JavaScript
Raw Normal View History

2021-03-24 15:53:09 -07:00
export const getAccessToken = state => {
const me = state.getIn(['auth', 'me']);
return state.getIn(['auth', 'users', me, 'access_token']);
};