Skip to content

Commit

Permalink
docs: add required 'new' keyword to usage
Browse files Browse the repository at this point in the history
  • Loading branch information
zeke authored and gr2m committed Mar 11, 2020
1 parent 4d3e69a commit 4f765dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/api/00_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const { Octokit } = require("@octokit/rest");
Now instantiate your octokit API. All options are optional, but authentication is strongly encouraged.

```js
const octokit = Octokit({
const octokit = new Octokit({
```
You can set `auth` to a personal access token string.
Expand Down

0 comments on commit 4f765dc

Please sign in to comment.