Skip to content

Commit

Permalink
fix: DELETE /tokens/:id (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
lautarodragan authored Jun 7, 2019
1 parent b422da3 commit 7d83235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/AccountController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export const AccountController = ({

await Vault.revokeToken(client_token)

const filteredTokens = tokens.filter((token: string) => token !== token)
const filteredTokens = tokens.filter(_ => _ !== token)
const encryptedFilteredTokens = await encryptApiTokens(filteredTokens)
const encryptedFilteredTokensObjects = encryptedFilteredTokens.map(token => ({ token }))

Expand Down

0 comments on commit 7d83235

Please sign in to comment.