Skip to content

Commit fbb797d

Browse files
committed
2.11.8
1 parent c9b448d commit fbb797d

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## version 2.11.8
2+
3+
- 修复 可能有人会没有收藏列表数据,导致不能登录,不知道为什么会没有数据
4+
15
## version 2.11.7
26

37
- 修复流水线图标

package.json

Lines changed: 1 addition & 1 deletion
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.7",
5+
"version": "2.11.8",
66
"author": "ccagml",
77
"publisher": "ccagml",
88
"license": "MIT",

src/rpc/actionChain/chainNode/leetcode.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,16 +458,19 @@ and csrf token to the user object and saves the user object to the session. */
458458
user.hash = f.id_hash;
459459
user.name = favorites.user_name;
460460
} else {
461-
reply.warn("Favorite not found?");
461+
// reply.warn("Favorite not found?");
462462
}
463463
} else {
464-
reply.warn("Failed to retrieve user favorites: " + e);
464+
// return cb(e);
465+
// reply.warn("Failed to retrieve user favorites: " + e);
465466
}
466467

467468
that.getUserInfo(function (e, _user) {
468469
if (!e) {
469470
user.paid = _user.isCurrentUserPremium;
470471
user.name = _user.username;
472+
} else {
473+
return cb(e);
471474
}
472475
sessionUtils.saveUser(user);
473476
return cb(null, user);

0 commit comments

Comments
 (0)