controller refactoring part 10

This commit is contained in:
Peter Papp
2021-07-20 16:45:17 +02:00
parent 8b250e94cb
commit 2d814f3839
10 changed files with 84 additions and 58 deletions
+1 -1
View File
@@ -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)