pass 3 - mapState updates
This commit is contained in:
parent
4156b1597a
commit
617613dfb4
5 changed files with 24 additions and 36 deletions
|
|
@ -646,7 +646,6 @@ const users = {
|
|||
|
||||
logout(store) {
|
||||
const oauth = useOAuthStore()
|
||||
const { instance } = store.rootState
|
||||
|
||||
// NOTE: No need to verify the app still exists, because if it doesn't,
|
||||
// the token will be invalid too
|
||||
|
|
@ -655,7 +654,7 @@ const users = {
|
|||
.then((app) => {
|
||||
const params = {
|
||||
app,
|
||||
instance: instance.server,
|
||||
instance: useInstanceStore().server,
|
||||
token: oauth.userToken,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue