We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d2d80a commit 84128c2Copy full SHA for 84128c2
handler.js
@@ -7,11 +7,11 @@ const { getProbotOctoKit } = require('./lib/proxyAwareProbotOctokit')
7
const appFn = require('./')
8
9
module.exports.webhooks = createLambdaFunction(appFn, {
10
- probot: createProbot({ octokit: getProbotOctoKit() })
+ probot: createProbot({ overrides: { Octokit: getProbotOctoKit() } })
11
})
12
13
module.exports.scheduler = function () {
14
- const probot = createProbot({ octokit: getProbotOctoKit() })
+ const probot = createProbot({ overrides: { Octokit: getProbotOctoKit() } })
15
const app = appFn(probot, {})
16
return app.syncInstallation()
17
}
0 commit comments