Skip to content
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

After PR #399 that fixed route completion, options are not triggered anymore.. #2451

Open
hayya33 opened this issue Jul 18, 2024 · 0 comments

Comments

@hayya33
Copy link

hayya33 commented Jul 18, 2024

After PR #399 that fixed route completion, options are not triggered anymore..

const octokit = new Octokit({ auth: `personal-access-token123` });

const response = await octokit.request(
    "GET /orgs/{org}/repos",
    {
          // the options key (e.g. 'org') has no completion anymore
          org: "octokit",
    }
);

Originally posted by @ghost in octokit/core.js#486

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant