Skip to content

Commit

Permalink
fix(README): usage example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Jan 15, 2020
1 parent 2892539 commit 29bb802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const { retry } = require("@octokit/plugin-retry");
</table>

```js
const MyOctokit = Octokit.plugin(paginateRest);
const MyOctokit = Octokit.plugin(retry);
const octokit = new MyOctokit({ auth: "secret123" });

// retries request up to 3 times in case of a 500 response
Expand Down

0 comments on commit 29bb802

Please sign in to comment.