mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 17:44:51 +02:00
Fix: Login/logout socket connection issue #29
This commit is contained in:
parent
65706a52fc
commit
ba00acaef5
4 changed files with 11 additions and 6 deletions
|
@ -67,8 +67,8 @@ export default {
|
|||
}
|
||||
},
|
||||
methods: {
|
||||
logout() {
|
||||
this.$axios.$post('/logout').catch((error) => {
|
||||
async logout() {
|
||||
await this.$axios.$post('/logout').catch((error) => {
|
||||
console.error(error)
|
||||
})
|
||||
this.$server.logout()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue