Skip to content

Commit d4d22a5

Browse files
authored
Merge pull request #141 from ccagml/main
update
2 parents b522309 + 13d5d5e commit d4d22a5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## version 2.11.9
2+
3+
- 修复 2.11.8 登录错误
4+
15
## version 2.11.8
26

37
- 修复 可能有人会没有收藏列表数据,导致不能登录,不知道为什么会没有数据

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode-problem-rating",
33
"displayName": "LeetCode",
44
"description": "LeetCode 官方插件增强, 代码开源, 增加 LeetCode 题目难度分, 给个star吧, 球球了",
5-
"version": "2.11.8",
5+
"version": "2.11.9",
66
"author": "ccagml",
77
"publisher": "ccagml",
88
"license": "MIT",

src/rpc/actionChain/chainNode/leetcode.ts

-2
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,6 @@ and csrf token to the user object and saves the user object to the session. */
469469
if (!e) {
470470
user.paid = _user.isCurrentUserPremium;
471471
user.name = _user.username;
472-
} else {
473-
return cb(e);
474472
}
475473
sessionUtils.saveUser(user);
476474
return cb(null, user);

0 commit comments

Comments
 (0)