This commit is contained in:
Henry Jameson 2019-06-13 10:05:22 +03:00
parent dba8d8910c
commit 0988065f50
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ const setConfig = async ({ store }) => {
const checkOAuthToken = async ({ store }) => {
return new Promise(async (resolve, reject) => {
if (store.state.oauth.userToken) {
if (store.getters.getUserToken()) {
try {
await store.dispatch('loginUser', store.getters.getUserToken())
} catch (e) {