diff --git a/README.md b/README.md index 9338c43d..0b480304 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ const { retry } = require("@octokit/plugin-retry"); ```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