Closed Ic3b3rg closed 1 year ago
Following the official github guide I continually encounter the problem that octokit keeps giving me errors to call the github api doing the same code on react web on stackblitz works. Is there no support on react native ?
code:
import { Octokit } from "octokit"; const octokit = new Octokit({ auth: 'YOUR-TOKEN', }); await octokit.request("GET /repos/{owner}/{repo}/issues", { owner: "github", repo: "docs", per_page: 2 });
latest version
No response
What kind of errors are you getting?
React native should work fine
It was my mistake sorry a lot
What happened?
Following the official github guide I continually encounter the problem that octokit keeps giving me errors to call the github api doing the same code on react web on stackblitz works. Is there no support on react native ?
code:
Versions
latest version
Relevant log output
No response
Code of Conduct