Skip to content

Commit

Permalink
docs(authentication): adapt example for latest @octokit/app (#1414)
Browse files Browse the repository at this point in the history
  • Loading branch information
nason authored and gr2m committed Jun 26, 2019
1 parent a9365e3 commit 4ef9e21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/api/01_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The `auth` option can be
Here is an example on how to implement authentication for GitHub Apps
```js
const App = require('@octokit/app')
const { App } = require('@octokit/app')
const Octokit = require('@octokit/rest')

const app = new App({ id: process.env.APP_ID, privateKey: process.env.PRIVATE_KEY })
Expand All @@ -91,4 +91,4 @@ The `auth` option can be
})
```
See also: https://github.com/octokit/app.js#authenticating-as-an-installation.
See also: https://github.com/octokit/app.js#authenticating-as-an-installation.

0 comments on commit 4ef9e21

Please sign in to comment.