diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-12-26 16:49:42 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-12-26 16:49:42 +0000 |
| commit | b8f4b18ae5e362bce97553cf4bcde1749b6fea32 (patch) | |
| tree | b9e370f0af483e569c4bdd374d91cd140022174c /src/modules/oauth_tokens.js | |
| parent | f7029a27eb9def00c80929b2c2cfb1d22d29bbfe (diff) | |
| parent | bd07e5de1c03a5619db5af49f14dc20602134881 (diff) | |
Merge branch 'streaming' into 'develop'
Streaming and Backend Interactor service overhaul, removed the need for copypasting
See merge request pleroma/pleroma-fe!1012
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)) } |
