Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f7a24b6

Browse files
committed
fix isPremium bug
1 parent 5245886 commit f7a24b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/plugins/leetcode.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,9 @@ plugin.getUserInfo = function(cb) {
402402
opts.body = {
403403
query: [
404404
'{',
405-
' user {',
405+
' user:userStatus {',
406406
' username',
407-
' isCurrentUserPremium',
407+
' isCurrentUserPremium:isPremium',
408408
' }',
409409
'}'
410410
].join('\n'),

0 commit comments

Comments
 (0)