leetcode-cli-plugins
leetcode-cli-plugins copied to clipboard
fix: replace leetcode-cn graphql request query argument which cause 400
Since last version released, the graphql request query argument on
leetcode-cn web site have been changed. This commit just replace
question into questionId and convert string fid to int.
Refs: https://github.com/skygragon/leetcode-cli/issues/216
To support leetcode-cn, the language name should be changed into lower case. The leetcode.js plugin was just modified on line 329.
Great job! But you should not include leetcode.js commit in the merge request.
Okay, I will remove it.