Skip to content

Commit

Permalink
docs(development): fix ProbotOctokit usage example (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-schra committed Jan 18, 2022
1 parent 992b480 commit ec92db2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/development.md
Expand Up @@ -271,7 +271,9 @@ const { ProbotOctokit } = require("probot");
function myProbotApp(app) {
const octokit = new ProbotOctokit({
// any options you'd pass to Octokit
auth: "token <myToken>",
auth: {
token: "yourToken",
},
// and a logger
log: app.log.child({ name: "my-octokit" }),
});
Expand Down

0 comments on commit ec92db2

Please sign in to comment.