leetcode-cli-plugins icon indicating copy to clipboard operation
leetcode-cli-plugins copied to clipboard

fix: replace leetcode-cn graphql request query argument which cause 400

Open TangliziGit opened this issue 5 years ago • 3 comments

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

TangliziGit avatar Aug 10 '20 11:08 TangliziGit

To support leetcode-cn, the language name should be changed into lower case. The leetcode.js plugin was just modified on line 329.

TangliziGit avatar Aug 10 '20 11:08 TangliziGit

Great job! But you should not include leetcode.js commit in the merge request.

luyanfei avatar Sep 07 '20 11:09 luyanfei

Okay, I will remove it.

TangliziGit avatar Sep 07 '20 12:09 TangliziGit