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.
getInstallationOctokit()
1 parent ee62343 commit 989b291Copy full SHA for 989b291
README.md
@@ -351,7 +351,7 @@ For example, to implement the above using `App`
351
```js
352
const app = new App({ appId, privateKey });
353
const { data: slug } = await app.octokit.rest.apps.getAuthenticated();
354
-const { octokit } = await app.getInstallationOctokit(123);
+const octokit = await app.getInstallationOctokit(123);
355
await octokit.rest.issues.create({
356
owner: "octocat",
357
repo: "hello-world",
0 commit comments