-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get User Information #93
Comments
Hello. Which environment did you run it on? I tested it, and the code works on Node, Deno, and Bun without any problems. |
facing a similar issue, this is on nextjs |
I tried to run the code in React, and I was facing error, the react boilerplate code was created using create-react-app. |
Ok, please check the following:
import { LeetCode, fetcher } from "leetcode-query";
// use a custom fetcher
fetcher.set(fetch);
// use as normal
const lc = new LeetCode();
const daily = await lc.daily();
console.log(daily); |
Unable to get user information
Code used to reproduce
Error
Help me with this. @JacobLinCool
The text was updated successfully, but these errors were encountered: