We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.rest
1 parent 536088b commit aad6ea7Copy full SHA for aad6ea7
README.md
@@ -332,11 +332,11 @@ const octokit = new Octokit({
332
// authenticates as app based on request URLs
333
const {
334
data: { slug },
335
-} = await octokit.apps.getAuthenticated();
+} = await octokit.rest.apps.getAuthenticated();
336
337
// creates an installation access token as needed
338
// assumes that installationId 123 belongs to @octocat, otherwise the request will fail
339
-await octokit.issues.create({
+await octokit.rest.issues.create({
340
owner: "octocat",
341
repo: "hello-world",
342
title: "Hello world from " + slug,
0 commit comments