mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-05-30 07:44:41 +00:00
controller refactoring part 10
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
})
|
||||
},
|
||||
deleteToken(id) {
|
||||
axios.delete(`/api/user/token/revoke/${id}`)
|
||||
axios.delete(`/api/user/tokens/${id}`)
|
||||
.then(() => {
|
||||
|
||||
this.tokens = this.tokens.filter(tokenItem => tokenItem.id !== id)
|
||||
|
||||
Reference in New Issue
Block a user