missing { data } extraction
This commit is contained in:
parent
6c4f6dcd05
commit
a39d3b1b56
23 changed files with 44 additions and 48 deletions
|
|
@ -20,8 +20,8 @@ export const useOAuthTokensStore = defineStore('oauthTokens', {
|
|||
revokeOAuthToken({
|
||||
id,
|
||||
credentials: useOAuthStore().token,
|
||||
}).then((response) => {
|
||||
if (response.status === 201) {
|
||||
}).then(({ status }) => {
|
||||
if (status === 201) {
|
||||
this.swapTokens(this.tokens.filter((token) => token.id !== id))
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue