Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/plugins/solution.discuss.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var plugin = new Plugin(200, 'solution.discuss', '2019.02.03',
'Plugin to fetch most voted solution in discussions.');

var URL_DISCUSSES = 'https://leetcode.com/graphql';
var URL_DISCUSS = 'https://leetcode.com/problems/$slug/discuss/$id';
var URL_DISCUSS = 'https://leetcode.com/problems/$slug/solutions/$id';

function getSolution(problem, lang, cb) {
if (!problem) return cb();
Expand Down