forked from AkkomaGang/akkoma-fe
fix
This commit is contained in:
parent
dba8d8910c
commit
0988065f50
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue