Skip to content

Commit dd4966e

Browse files
authored
Merge pull request skygragon#96 from sykuang/master
A temp solution for locked problems.
2 parents 6f2cf7a + 8f114ea commit dd4966e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/plugins/leetcode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ plugin.getCategoryProblems = function(category, cb) {
120120
plugin.getProblem = function(problem, cb) {
121121
log.debug('running leetcode.getProblem');
122122
const user = session.getUser();
123-
if (problem.locked && !user.paid) return cb('failed to load locked problem!');
123+
//if (problem.locked && !user.paid) return cb('failed to load locked problem!');
124124

125125
const opts = makeOpts(config.sys.urls.problem_detail);
126126
opts.headers.Origin = config.sys.urls.base;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy