diff options
| author | Henry Jameson <me@hjkos.com> | 2019-11-24 13:57:46 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-11-24 13:57:46 +0200 |
| commit | ddb6fb9217789e90490a4ec1ce7a2dd9ced67631 (patch) | |
| tree | ffe3c49d40bfa773d237aec3610c26be901c4255 /src/modules/oauth_tokens.js | |
| parent | 41d2fa2fd66ca33b0c83f65d608ee37f8ffcb152 (diff) | |
Backend Interactor service overhaul, removed the need for copypasting
Diffstat (limited to 'src/modules/oauth_tokens.js')
| -rw-r--r-- | src/modules/oauth_tokens.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/oauth_tokens.js b/src/modules/oauth_tokens.js index 0159a3f1..907cae4a 100644 --- a/src/modules/oauth_tokens.js +++ b/src/modules/oauth_tokens.js @@ -9,7 +9,7 @@ const oauthTokens = { }) }, revokeToken ({ rootState, commit, state }, id) { - rootState.api.backendInteractor.revokeOAuthToken(id).then((response) => { + rootState.api.backendInteractor.revokeOAuthToken({ id }).then((response) => { if (response.status === 201) { commit('swapTokens', state.tokens.filter(token => token.id !== id)) } |
