diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ede9cb..ce404b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## version 2.11.9 + +- 修复 2.11.8 登录错误 + ## version 2.11.8 - 修复 可能有人会没有收藏列表数据,导致不能登录,不知道为什么会没有数据 diff --git a/package.json b/package.json index 8d362b6..054dc72 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode-problem-rating", "displayName": "LeetCode", "description": "LeetCode 官方插件增强, 代码开源, 增加 LeetCode 题目难度分, 给个star吧, 球球了", - "version": "2.11.8", + "version": "2.11.9", "author": "ccagml", "publisher": "ccagml", "license": "MIT", diff --git a/src/rpc/actionChain/chainNode/leetcode.ts b/src/rpc/actionChain/chainNode/leetcode.ts index ab2ae25..acda0f7 100644 --- a/src/rpc/actionChain/chainNode/leetcode.ts +++ b/src/rpc/actionChain/chainNode/leetcode.ts @@ -469,8 +469,6 @@ and csrf token to the user object and saves the user object to the session. */ if (!e) { user.paid = _user.isCurrentUserPremium; user.name = _user.username; - } else { - return cb(e); } sessionUtils.saveUser(user); return cb(null, user);