diff --git a/src/lib/token/token-utils.js b/src/lib/token/token-utils.js index 8e461112898ddd6a2c3afe1125361e804157d571..e9a9fa258b904ceb603445902b91e48df4104e94 100644 --- a/src/lib/token/token-utils.js +++ b/src/lib/token/token-utils.js @@ -224,7 +224,7 @@ export default class TokenUtils { tokenList.push(token) if (tokenList.length > maxTokenLength) { - tokenList.splice(0, tokenList.length - 10) + tokenList.splice(0, tokenList.length - maxTokenLength) } await this.updateUserRecord({